summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2014-02-06 01:35:10 +0100
committerMarco d'Itri <md@linux.it>2014-02-07 06:33:08 +0100
commitd2ee7af1d715d571f0e3c5d34131b07dc5ca9847 (patch)
treeda06990c615719ec0d848b2f176f57b2aa81ee45 /Makefile
parentbc35c3c5851d31a37a40ce536a47c0a19ca0d962 (diff)
downloadwhois-d2ee7af1d715d571f0e3c5d34131b07dc5ca9847.tar.gz
Extract the version number from the changelog
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 30142b9..8c33c61 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,9 @@ mkpasswd: $(mkpasswd_OBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(mkpasswd_LDADD) $(LIBS)
##############################################################################
+version.h: debian/changelog make_version_h.pl
+ $(PERL) -w make_version_h.pl $< > $@
+
as_del.h: as_del_list make_as_del.pl
$(PERL) -w make_as_del.pl < $< > $@