aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-03-26 13:06:31 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-03-26 13:08:25 +0300
commitd39b0783d77ba756681c539b3ee19b8997494317 (patch)
treea7bd3068ed3872b3461fb88456108690eb07852d /Makefile
parent9d6e6d1c7bb737da4b9bef81d612ffa702ab2795 (diff)
downloaddnstools-d39b0783d77ba756681c539b3ee19b8997494317.tar.gz
dnstools-d39b0783d77ba756681c539b3ee19b8997494317.tar.bz2
Add maintainer makefiles.
* .gitignore: Update. * dnsdbck/.gitignore: New file. * rpsl2acl/.gitignore: New file. * Make.rules: New file. * Make.vars: New file. * Makefile: New file. * dnsdbck/GNUmakefile: New file. * rpsl2acl/GNUmakefile: New file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f8d6896
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,33 @@
+SUBDIRS = dnsdbck rpsl2acl
+
+include Make.vars
+
+dist:
+ for dir in $(SUBDIRS); do \
+ cd $$dir; \
+ make dist; \
+ done
+
+publish:
+ @s=`for dir in $(SUBDIRS); do \
+ awk -v dir=$$dir \
+ 'NF==3 && /=>/ { sub(/ *,/,"",$$3); \
+ if ($$1 == "'\''NAME'\''") \
+ name=$$3; \
+ else if ($$1 == "'\''VERSION'\''") \
+ version=$$3; }; \
+ END { if (name && version) { \
+ s = name "-" version ".tar.gz"; \
+ gsub(/'\''/, "", s); \
+ print dir, s; \
+ } } ' $$dir/Makefile.PL; \
+ done | \
+ while read dir file; do ln -f $$dir/$$file .; echo $$file; done`; \
+ if test -n "$$s"; then \
+ echo $(GNUPLOAD) $$s; \
+ $(GNUPLOAD) $$s; \
+ rm $$s; \
+ fi
+
+clean:; @rm -f *.tar.gz *.tar.gz.sig
+

Return to:

Send suggestions and report system problems to the System administrator.