scummvm/dists/debian/rules

55 lines
1.1 KiB
Makefile
Executable File

#!/usr/bin/make -f
build: scummvm
doc/README.pdf:
(cd doc; latex readme.tex)
(cd doc; latex readme.tex)
dvips -q -f doc/readme.dvi | gs -q -dNOPAUSE -dBATCH \
-sDEVICE=pdfwrite \
-sOutputFile=doc/README.pdf -
scummvm:
dh_testdir
./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games --mandir=/usr/share/man
$(MAKE)
clean:
dh_testdir
dh_testroot
-$(MAKE) distclean
#-rm doc/readme.aux doc/readme.dvi doc/readme.log doc/readme.out \
# doc/readme.toc doc/README.pdf
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean
dh_installdirs
$(MAKE) install DESTDIR=debian/scummvm
install -m 644 dists/scummvm.desktop debian/scummvm/usr/share/applications
install -m 644 icons/scummvm.svg debian/scummvm/usr/share/pixmaps
binary: binary-arch
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs NEWS
dh_installman
dh_installmenu
dh_strip
dh_compress -X.pdf
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary-indep:
.PHONY: build clean binary install binary-arch binary-indep