summaryrefslogtreecommitdiff
path: root/games/xgalaga/files/patch-aa
blob: 4a7dcc0c8f68799692e95c85d07ab8c13dd345f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Makefile.in.orig	Sun Apr 12 03:10:46 1998
+++ Makefile.in	Sun Jun 20 18:59:18 1999
@@ -43,11 +43,14 @@
 	$(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS)
 
 install: all
-	mkinstalldirs $(bindir)
+	./mkinstalldirs $(bindir)
+	./mkinstalldirs $(prefix)
 	$(INSTALL) $(TARGET) $(bindir)/$(TARGET)
-	$(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
-	mkinstalldirs $(prefix)/sounds
-	mkinstalldirs $(prefix)/levels
+	if [ "X$(SOUNDSRV)" != "X"]; then \
+		$(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV); \
+	fi
+	./mkinstalldirs $(prefix)/sounds
+	./mkinstalldirs $(prefix)/levels
 	for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
 	for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done