]> git.pld-linux.org Git - packages/cdtool.git/blame - cdtool-install.patch
- tabs in preamble
[packages/cdtool.git] / cdtool-install.patch
CommitLineData
a4d0c4b1
JB
1--- cdtool-2.1.7/Makefile.in.orig 2004-08-06 14:38:17.000000000 +0200
2+++ cdtool-2.1.7/Makefile.in 2004-08-07 18:27:43.345851144 +0200
3@@ -47,15 +47,18 @@
2f65816f
JB
4 build: $(PROGRAMS)
5
6 install: install-files install-links
7-install-files:
a4d0c4b1
JB
8- mkdir -p $(DESTDIR)$(bindir)
9- $(INSTALL) cdctrl $(DESTDIR)$(bindir) -o root
10- $(INSTALL) cdloop $(DESTDIR)$(bindir) -o root
11- $(INSTALL) cdadd $(DESTDIR)$(bindir) -o root
12- $(INSTALL) cdown $(DESTDIR)$(bindir) -o root
13- $(INSTALL) cdtool2cddb $(DESTDIR)$(bindir) -o root
2f65816f
JB
14+install-dirs:
15+ $(INSTALL) -d $(DESTDIR)$(bindir)
16+ $(INSTALL) -d $(DESTDIR)$(libdir)
17+ $(INSTALL) -d $(DESTDIR)$(mandir)/man1
18+
19+install-files: install-dirs
20+ $(INSTALL) cdctrl $(DESTDIR)$(bindir)
21+ $(INSTALL) cdloop $(DESTDIR)$(bindir)
22+ $(INSTALL) cdadd $(DESTDIR)$(bindir)
23+ $(INSTALL) cdown $(DESTDIR)$(bindir)
a4d0c4b1
JB
24+ $(INSTALL) cdtool2cddb $(DESTDIR)$(bindir)
25
26- mkdir -p $(DESTDIR)$(mandir)/man1
27 $(INSTALL) cdctrl.1 $(DESTDIR)$(mandir)/man1
28 $(INSTALL) cdloop.1 $(DESTDIR)$(mandir)/man1
29 $(INSTALL) cdadd.1 $(DESTDIR)$(mandir)/man1
30@@ -64,9 +67,9 @@
31 $(INSTALL) cdtool2cddb.1 $(DESTDIR)$(mandir)/man1
2f65816f 32
a4d0c4b1
JB
33 mkdir -p $(DESTDIR)$(libdir)/cdtool
34- $(INSTALL) cdtool $(DESTDIR)$(libdir)/cdtool -o root
2f65816f
JB
35+ $(INSTALL) cdtool $(DESTDIR)$(libdir)/cdtool
36
37-LINKTARGET = ../lib/cdtool/cdtool
38+LINKTARGET = $(libdir)/cdtool/cdtool
39 LINKS = cdplay cdpause cdstop cdclose cdeject cdir cdinfo cdreset \
40 cdvolume cdshuffle
41
a4d0c4b1 42@@ -74,7 +77,7 @@
2f65816f
JB
43 install-links-local: bindir = .
44 install-links-local: install-links
45
46-install-links:
47+install-links: install-dirs
48 for command in $(LINKS); do \
a4d0c4b1
JB
49 if ! test -h $(DESTDIR)$(bindir)/$$command; then \
50 echo installing $$command; \
51@@ -84,7 +87,7 @@
52 if ! test -h $(DESTDIR)$(mandir)/man1/$$command.1; then \
53 echo installing $$command.1; \
54 rm -f $(DESTDIR)$(mandir)/man1/$$command.1; \
55- ln -s cdtool.1 $(DESTDIR)$(mandir)/man1/$$command.1; \
56+ echo ".so cdtool.1" > $(DESTDIR)$(mandir)/man1/$$command.1; \
2f65816f 57 fi; \
2f65816f
JB
58 done
59
This page took 0.117716 seconds and 4 git commands to generate.