summaryrefslogtreecommitdiff
path: root/graphics/mpgtx/files/patch-Makefile
blob: c4493077521a9e7b2338b1efffa7f116230276bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- Makefile.orig	Tue Jul 24 15:39:59 2001
+++ Makefile	Tue Jul 24 15:41:13 2001
@@ -1,5 +1,4 @@
 # installation dirs : Edit at your convenance
-PREFIX=/usr
 INSTALLDIR=$(PREFIX)/bin
 MANDIR=$(PREFIX)/man/man1
 
@@ -7,7 +6,7 @@
 
 # compilation flags
 DEVEL_CFLAGS= -g  -Wall -Werror -pedantic -fno-builtin
-RELEASE_CFLAGS= -Wall -g -O2 -pedantic 
+RELEASE_CFLAGS= ${CFLAGS}
 SHARED_LFLAGS= -s
 STATIC_LFLAGS= -static -s
 DEVEL_LFLAGS= #-lefence
@@ -50,12 +49,10 @@
 	ln -sf mpgtx tagmp3
 	install -d -m 755  $(INSTALLDIR)
 	install -d -m 755  $(MANDIR)
-	install -s -m 755 mpgtx $(INSTALLDIR)
-	cp  -df   mpgdemux mpgjoin mpgcat mpginfo mpgsplit tagmp3 $(INSTALLDIR)
-	install -m 644 man/mpgtx.1 man/tagmp3.1 $(MANDIR) 
+	${INSTALL_PROGRAM} mpgtx $(INSTALLDIR)
+	${INSTALL_MAN} man/mpgtx.1 man/tagmp3.1 $(MANDIR) 
 	cd man ; make
 	cd ..
-	cp -df   ./man/mpgdemux.1 ./man/mpgjoin.1 man/mpgsplit.1 man/mpgcat.1 man/mpginfo.1 $(MANDIR)
 
 uninstall:
 	rm -f 	$(INSTALLDIR)/mpgtx