diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-03-26 13:06:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-03-26 13:08:25 +0300 |
commit | d39b0783d77ba756681c539b3ee19b8997494317 (patch) | |
tree | a7bd3068ed3872b3461fb88456108690eb07852d /Make.rules | |
parent | 9d6e6d1c7bb737da4b9bef81d612ffa702ab2795 (diff) | |
download | dnstools-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 'Make.rules')
-rw-r--r-- | Make.rules | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Make.rules b/Make.rules new file mode 100644 index 0000000..55cc271 --- /dev/null +++ b/Make.rules @@ -0,0 +1,23 @@ +dist: distclean + perl Makefile.PL + make -f Makefile + make -f Makefile dist + +distclean: + @rm -f *.tar.gz *.tar.gz.sig + +publish: + @s=`awk '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 s; \ + } } ' Makefile.PL`; \ + if test -n "$$s"; then \ + echo $(GNUPLOAD) $$s; \ + $(GNUPLOAD) $$s; \ + fi |