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
6 install: install-files install-links
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
15 + $(INSTALL) -d $(DESTDIR)$(bindir)
16 + $(INSTALL) -d $(DESTDIR)$(libdir)
17 + $(INSTALL) -d $(DESTDIR)$(mandir)/man1
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)
24 + $(INSTALL) cdtool2cddb $(DESTDIR)$(bindir)
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
31 $(INSTALL) cdtool2cddb.1 $(DESTDIR)$(mandir)/man1
33 mkdir -p $(DESTDIR)$(libdir)/cdtool
34 - $(INSTALL) cdtool $(DESTDIR)$(libdir)/cdtool -o root
35 + $(INSTALL) cdtool $(DESTDIR)$(libdir)/cdtool
37 -LINKTARGET = ../lib/cdtool/cdtool
38 +LINKTARGET = $(libdir)/cdtool/cdtool
39 LINKS = cdplay cdpause cdstop cdclose cdeject cdir cdinfo cdreset \
43 install-links-local: bindir = .
44 install-links-local: install-links
47 +install-links: install-dirs
48 for command in $(LINKS); do \
49 if ! test -h $(DESTDIR)$(bindir)/$$command; then \
50 echo installing $$command; \
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; \