diff options
author | Max Horn | 2007-05-30 16:54:01 +0000 |
---|---|---|
committer | Max Horn | 2007-05-30 16:54:01 +0000 |
commit | c07b5f6147a0539285ca0080c83b9a4ee18d10d6 (patch) | |
tree | c9c97800c754f96f7e9713d3f6c75f0e991da5f1 /dists/debian/rules | |
parent | 9d7312f8fde9626bebb38718c2c9affa39727f7c (diff) | |
download | scummvm-rg350-c07b5f6147a0539285ca0080c83b9a4ee18d10d6.tar.gz scummvm-rg350-c07b5f6147a0539285ca0080c83b9a4ee18d10d6.tar.bz2 scummvm-rg350-c07b5f6147a0539285ca0080c83b9a4ee18d10d6.zip |
Slightly modified version of patch #1728192: Fix for Debian packaging scripts
svn-id: r27015
Diffstat (limited to 'dists/debian/rules')
-rwxr-xr-x | dists/debian/rules | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dists/debian/rules b/dists/debian/rules index 42c2068239..f8f64aea07 100755 --- a/dists/debian/rules +++ b/dists/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f -build: doc/README.pdf scummvm +build: scummvm doc/README.pdf: (cd doc; latex readme.tex) @@ -11,15 +11,15 @@ doc/README.pdf: scummvm: dh_testdir - ./configure + ./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 + #-rm doc/readme.aux doc/readme.dvi doc/readme.log doc/readme.out \ + # doc/readme.toc doc/README.pdf dh_clean install: build @@ -27,8 +27,9 @@ install: build dh_testroot dh_clean dh_installdirs - install -m0755 scummvm debian/scummvm/usr/games/scummvm - install -m0644 icons/scummvm.xpm debian/scummvm/usr/share/icons + $(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 |