mod_netconf: added $Id string
diff --git a/src/Makefile.in b/src/Makefile.in
index a385ec2..208c61a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -6,6 +6,8 @@
RPMDIR = RPMBUILD
RPMBUILD = @RPMBUILD@
+IDGIT = "built from git $(shell git show --pretty=oneline | head -1 | cut -c -20)"
+IDNOGIT = "released as version $(VERSION)"
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
@@ -16,6 +18,9 @@
mandir = @mandir@
sysconfdir = @sysconfdir@
+ARCSID = @ARCSID@
+RCSID = @RCSID@
+
APXS=/usr/sbin/apxs
CFLAGS=-I/usr/include/json
@@ -27,10 +32,10 @@
all: module client
module: mod_netconf.c
- $(APXS) $(CPPFLAGS) $(CFLAGS) $(LIBS) -c mod_netconf.c
+ $(APXS) $(LIBS) $(ARCSID) -c mod_netconf.c
client: test-client.c
- gcc -std=gnu99 -Wall -g -ljson -I/usr/include/json test-client.c -o test-client
+ gcc $(RCSID) -std=gnu99 -Wall -g -ljson -I/usr/include/json test-client.c -o test-client
#install: $(NAME).la
# $(APXS) -i $(NAME).la