]>
Commit | Line | Data |
---|---|---|
ab0cf7c6 | 1 | --- cdp-0.33/Makefile.orig Mon Jan 8 12:05:20 1996 |
2 | +++ cdp-0.33/Makefile Mon Jan 8 12:07:21 1996 | |
3 | @@ -10,7 +10,7 @@ | |
4 | COMP_OPT = -Wall -O2 | |
5 | LINK_OPT = | |
6 | LIBPATH=/usr/lib | |
7 | -LIBS = -ltermcap -L$(LIBPATH) -lncurses | |
8 | +LIBS = -L$(LIBPATH) -lncurses | |
9 | OBJS = cdp.o color.o display.o misc.o volume.o hardware.o database.o getline.o | |
10 | ||
11 | ||
12 | @@ -22,10 +22,7 @@ | |
13 | # | |
14 | # If you compile under SystemV, set the NCURSES variable to `.' | |
15 | # | |
16 | -NCURSES=/usr/local/include | |
17 | -ifeq ($(wildcard /usr/include/ncurses), /usr/include/ncurses) | |
18 | NCURSES=/usr/include/ncurses | |
19 | -endif | |
20 | ||
21 | DBG = -I$(NCURSES) | |
22 | ||
23 | @@ -59,9 +56,9 @@ | |
24 | install: cdp cdp.1.Z | |
25 | chmod 755 cdp | |
26 | chmod 644 cdp.1.Z | |
27 | - cp cdp /usr/local/bin | |
28 | - ln -s /usr/local/bin/cdp /usr/local/bin/cdplay | |
29 | - cp cdp.1.Z /usr/man/cat1 | |
30 | + install -m 755 -s cdp $(DESTDIR)/usr/bin | |
31 | + ln -sf cdp $(DESTDIR)/usr/bin/cdplay | |
32 | + install -m 644 cdp.1 $(DESTDIR)/usr/man/man1 | |
33 | ||
34 | clean: | |
35 | rm -f cdp cdp.1.Z *.o core *~ |