diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2004-12-06 23:27:42 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2004-12-06 23:27:42 +0000 |
commit | ab1d5af38bb1d9133ebece45760d7d0af642d976 (patch) | |
tree | 07c23258c8087b466de6ad1ba312453e24933e42 /Makefile.PL | |
parent | dcd615a5ac5759ce82db71f8aac058768e2d8ce3 (diff) | |
download | rpmtools-ab1d5af38bb1d9133ebece45760d7d0af642d976.tar rpmtools-ab1d5af38bb1d9133ebece45760d7d0af642d976.tar.gz rpmtools-ab1d5af38bb1d9133ebece45760d7d0af642d976.tar.bz2 rpmtools-ab1d5af38bb1d9133ebece45760d7d0af642d976.tar.xz rpmtools-ab1d5af38bb1d9133ebece45760d7d0af642d976.zip |
- 5.0.05.0.0
- more test and fix
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/Makefile.PL b/Makefile.PL index 289b915..ef7a4b5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,7 +3,7 @@ # use 5.008; use ExtUtils::MakeMaker; -my $rpmtools_version = '5.0'; +my $rpmtools_version = '5.0.0'; sub MY::postamble { <<MAKEMAKEFILE; @@ -12,19 +12,13 @@ sub MY::postamble { \$(FROMCC): %: %.cc \$(CXX) \$(CCFLAGS) \$(OPTIMIZE) -DVERSION_STRING=\\"\$(RPMTOOLSVERSION)\\" \$< \$(LIBRPM) \$(INCRPM) \$(DEFRPM) -o \$@ -\$(FROMCC_STATIC): %_static: %.cc - \$(CXX) -s -static \$(CCFLAGS) \$(OPTIMIZE) -DVERSION_STRING=\\"\$(RPMTOOLSVERSION)\\" \$< \$(LIBRPM) \$(INCRPM) \$(DEFRPM) -o \$@ - \$(FROMC): %: %.c \$(CC) \$(CCFLAGS) \$(OPTIMIZE) -DVERSION_STRING=\\"\$(RPMTOOLSVERSION)\\" \$< \$(LIBRPM) \$(INCRPM) \$(DEFRPM) -o \$@ -\$(FROMC_STATIC): %_static: %.c - \$(CC) -g -s -static \$(CCFLAGS) \$(OPTIMIZE) -DVERSION_STRING=\\"\$(RPMTOOLSVERSION)\\" \$< \$(LIBRPM) \$(LIBRPM_STATIC) \$(INCRPM) \$(DEFRPM) -o \$@ - -buildc: \$(FROMC) \$(FROMCC) # \$(FROMC_STATIC) \$(FROMCC_STATIC) +buildc: \$(FROMC) \$(FROMCC) cleanc: - rm -f \$(FROMC) \$(FROMCC) \$(FROMC_STATIC) \$(FROMCC_STATIC) + rm -f \$(FROMC) \$(FROMCC) ChangeLog: cvs2cl -W 400 -I ChangeLog --accum -U ../common/username @@ -42,8 +36,6 @@ WriteMakefile( RPMTOOLSVERSION => $rpmtools_version, FROMC => 'parsehdlist rpm2header #rpm-find-leaves', FROMCC => '#gendepslist2 hdlist2names hdlist2files hdlist2prereq hdlist2groups', - FROMC_STATIC => '$(FROMC:%=%_static)', - FROMCC_STATIC => '$(FROMCC:%=%_static)', LIBRPM => '-lrpm -lrpmio -lrpmdb -lrpmbuild -lz -lbz2 -lpopt', INCRPM => '-I/usr/include/rpm', DEFRPM => '-DRPM_42', |