Skip to content

Commit

Permalink
debian install stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
pace committed Jun 25, 2011
1 parent df88da4 commit 55a72f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
14 changes: 2 additions & 12 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,7 @@ DESTDIR=$(CURDIR)/debian/raceintospace
override_dh_auto_configure:
aclocal -I m4
autoconf
./configure --prefix=/usr --bindir=/usr/games
./configure --prefix=/usr --bindir=$(DESTDIR)/usr/games

override_dh_auto_install:
install -d $(DESTDIR)/usr/games
install -d $(DESTDIR)/usr/share/man/man6
install -c -m 755 raceintospace $(DESTDIR)/usr/games
install -c -m 644 raceintospace.6 $(DESTDIR)/usr/share/man/man6
make DATA_DIR=$(DESTDIR)/usr/share/raceintospace install-data
install -d $(DESTDIR)/usr/share/applications
install -c -m 644 debian/raceintospace.desktop \
$(DESTDIR)/usr/share/applications
install -d $(DESTDIR)/usr/share/pixmaps
install -c -m 644 os_linux/raceintospace.xpm \
$(DESTDIR)/usr/share/pixmaps
make DESTDIR=$(DESTDIR) install
4 changes: 2 additions & 2 deletions put-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /bin/sh -e

# development directory configuration:
#
Expand Down Expand Up @@ -38,7 +38,7 @@ mkdir -p ${DATA_DIR}
if [ -r gamedata/gamedata-files ]
then
echo "installing gamedata from working directory"
gamedata_dir=.
gamedata_dir=gamedata
elif [ -r ../gamedat/gamedata-files ]
then
echo "installing gamedata from ../gamedata"
Expand Down

0 comments on commit 55a72f1

Please sign in to comment.