aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andy@smile.org.ua>2006-08-19 11:31:31 +0000
committerAndy Shevchenko <andy@smile.org.ua>2006-08-19 11:31:31 +0000
commitf494599aecd21266e9852085b3b73cea48e760bd (patch)
treeedd6a73332237d37506b4e1838d14d849066aab2
parent1fef77d26e7077749e7e99ee9d9c6788adb754d8 (diff)
downloadrenrot-f494599aecd21266e9852085b3b73cea48e760bd.tar.gz
renrot-f494599aecd21266e9852085b3b73cea48e760bd.tar.bz2
Add rpm Makefile tag.
git-svn-id: file:///svnroot/renrot/branches/RENROT_STABLE@247 fe2816f4-e837-0410-b10a-f608c9d244a1
-rw-r--r--Makefile.PL12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 97cbd66..9b83ebe 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -12 +12,13 @@ WriteMakefile(
);
+
+package MY;
+
+sub postamble {
+ my $postamble = << 'END';
+# Build rpm
+rpm : tardist
+ rpmbuild -ta $(DISTVNAME).tar.$(SUFFIX)
+ $(RM_F) $(DISTVNAME).tar.$(SUFFIX)
+END
+ return $postamble;
+}

Return to:

Send suggestions and report system problems to the System administrator.