* When converting from rpm, do parent directory 755 chmods first, then

known permissions setting from rpm --queryformat, so that it can override
     any directories that do indeed have a permission set.
   * Fixed MakeFile.PL to work with perl 5.8.
This commit is contained in:
joey
2002-08-19 16:53:30 +00:00
parent c6b855ed5c
commit 21393f2767
4 changed files with 41 additions and 34 deletions

View File

@@ -17,6 +17,11 @@ sub MY::postamble {
VER=$(shell perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)
all:: extra_build
clean:: extra_build
install:: extra_install
pure_install:: extra_install
extra_build:
perl -i -pe "s/\@version\@/$(VER)/g" <alien.lsm.in >alien.lsm
perl -i -pe "s/\@version\@/$(VER)/g" <alien.spec.in >alien.spec
@@ -39,13 +44,5 @@ alien:
WriteMakefile(
'NAME' => 'Alien',
'EXE_FILES' => ['alien'],
# Pure evil. Hook into build and install targets
'depend' => {'all:' => 'extra_build',
# Why build on clean? Because I want to ensure the spec file
# gets put in the tarball, and so it has to happen in debian/rules
# clean
'clean:' => 'extra_build',
'install:' => 'extra_install',
'pure_install:' => 'extra_install'},
'clean' => {FILES => 'alien'},
);