File starfighter-1.1_makefile.diff of Package starfighter
diff -ur starfighter-1.1/makefile starfighter-1.1.working/makefile --- starfighter-1.1/makefile 2003-08-18 13:48:23.000000000 +0100 +++ starfighter-1.1.working/makefile 2010-07-10 22:16:31.000000000 +0100 @@ -7,9 +7,10 @@ PACK = starfighter.pak DOCS = docs/* -BINDIR = /usr/games/ -DATADIR = /usr/share/games/parallelrealities/ -DOCDIR = /usr/share/doc/starfighter/ +PREFIX = /usr +BINDIR = $(DESTDIR)/$(PREFIX)/games/ +DATADIR = $(DESTDIR)/$(PREFIX)/share/games/parallelrealities/ +DOCDIR = $(DESTDIR)/$(PREFIX)/share/doc/starfighter/ # top-level rule to create the program. all: $(PROG) @@ -19,7 +20,7 @@ # linking the program. $(PROG): $(OBJS) - $(CXX) $(LIBS) $(OBJS) -o $(PROG) + $(CXX) $(OBJS) -o $(PROG) $(LIBS) # cleaning everything that can be automatically recreated with "make". clean: