* First release.

This commit is contained in:
joey
2002-06-19 02:06:22 +00:00
parent b56e80e565
commit a55d9bc97d
4 changed files with 16 additions and 2101 deletions

22
debian/rules vendored
View File

@@ -3,7 +3,7 @@
build: build-stamp
build-stamp:
dh_testdir
perl Makefile.PL
perl Makefile.PL INSTALLDIRS=vendor
$(MAKE)
touch build-stamp
@@ -21,13 +21,8 @@ binary-indep: build
dh_testdir
dh_testroot
dh_clean -k
$(MAKE) pure_install INSTALLDIRS=vendor \
PREFIX=$(shell pwd)/debian/alien/$(shell perl -MConfig -e 'print $$Config{prefix}') \
VARPREFIX=$(shell pwd)/debian/alien
# Why does it make this empty directory? Sigh.
rm -rf debian/alien/usr/lib
dh_installdocs README gendiff.txt
dh_installexamples
$(MAKE) install PREFIX=`pwd`/debian/apt-src/usr
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
@@ -37,16 +32,5 @@ binary-indep: build
dh_md5sums
dh_builddeb
VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Version: \(.*\)')
# Update the web page. Not intended for use by anyone except the author.
installhook:
cp debian/changelog /home/pub/programs/alien/CHANGES
echo -n $(VERSION) > /home/pub/programs/alien/LATEST-VERSION-IS
rm /home/ftp/pub/code/alien/* || true
cd /home/ftp/pub/code/alien; \
ln -sf ../debian/alien_$(VERSION).tar.gz alien_$(VERSION).tar.gz; \
ln -sf ../debian/alien_$(VERSION).tar.gz alien.tar.gz
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary