develooper Front page | perl.cvs.qpsmtpd | Postings from February 2007

[svn:qpsmtpd] r717 - contrib/hjp/address_notes

From:
hjp
Date:
February 25, 2007 12:05
Subject:
[svn:qpsmtpd] r717 - contrib/hjp/address_notes
Message ID:
20070225210534.BA6A1CBA1B@x12.develooper.com
Author: hjp
Date: Sun Feb 25 13:05:34 2007
New Revision: 717

Added:
   contrib/hjp/address_notes/Makerules
Modified:
   contrib/hjp/address_notes/Makefile

Log:
Added Makerules.


Modified: contrib/hjp/address_notes/Makefile
==============================================================================
--- contrib/hjp/address_notes/Makefile	(original)
+++ contrib/hjp/address_notes/Makefile	Sun Feb 25 13:05:34 2007
@@ -1,6 +1,7 @@
 NAME=address_notes
 FILES = $(PKG).spec \
     Makefile \
+    Makerules \
     address_notes \
     address_notes_aliases \
     address_notes_test \

Added: contrib/hjp/address_notes/Makerules
==============================================================================
--- (empty file)
+++ contrib/hjp/address_notes/Makerules	Sun Feb 25 13:05:34 2007
@@ -0,0 +1,15 @@
+PKG = qpsmtpd-plugin-$(NAME)
+CONTRIB_BASE=~/wrk/qpsmtpd/contrib/hjp
+CONTRIB_FILES=$(patsubst %, $(CONTRIB_BASE)/$(NAME)/%, $(FILES))
+
+contrib: $(CONTRIB_FILES)
+
+$(CONTRIB_BASE)/$(NAME)/%: %
+	cp -p $^ $@
+
+rpm: $(PKG).tar.gz
+	rpmbuild -ta --clean --sign --rmsource $^
+
+$(PKG).tar.gz: $(FILES)
+	tar cfz $@ $^
+



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About