mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Fixed newlines in tgz filelist.
* Fixed some undefined value warnings.
* Put the rpm spec file back in. Converting the debs to rpms fails
because rpm doesn't use the same perl include path. Bummer.
58 lines
1.5 KiB
Makefile
Executable File
58 lines
1.5 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
build: build-stamp
|
|
build-stamp:
|
|
dh_testdir
|
|
perl Makefile.PL
|
|
$(MAKE)
|
|
touch build-stamp
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
rm -f build-stamp
|
|
perl Makefile.PL
|
|
-$(MAKE) realclean
|
|
dh_clean
|
|
|
|
binary-arch: build
|
|
|
|
binary-indep: build
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_clean -k
|
|
$(MAKE) pure_install PREFIX=$(shell pwd)/debian/tmp/ INSTALLDIRS=perl \
|
|
INSTALLMAN1DIR=$(shell pwd)/debian/tmp/usr/share/man/man1 \
|
|
INSTALLMAN3DIR=$(shell pwd)/debian/tmp/usr/share/man/man3 \
|
|
INSTALLPRIVLIB=$(shell pwd)/debian/tmp/usr/lib/perl5 \
|
|
INSTALLSCRIPT=$(shell pwd)/debian/tmp/usr/bin \
|
|
INSTALLARCHLIB=$(shell pwd)/debian/tmp/killme
|
|
# Who does it make this empty directory? Sigh.
|
|
rm -rf debian/tmp/killme
|
|
dh_installdocs README gendiff.txt
|
|
dh_installexamples
|
|
dh_installchangelogs
|
|
dh_compress
|
|
dh_fixperms
|
|
dh_installdeb
|
|
dh_gencontrol
|
|
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 $(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
|