]>
Commit | Line | Data |
---|---|---|
738d3666 | 1 | --- mm2.7.pius/src/Makefile Wed Jan 26 18:32:33 1994 |
2 | +++ mm2.7/src/Makefile Fri Nov 19 00:45:36 1999 | |
3 | @@ -38,7 +38,7 @@ | |
4 | ||
5 | STATICFLAG=FOOBAR${HOST_ARCH} | |
6 | ||
7 | -CFLAGS = -g -I. ${$(STATICFLAG)} | |
8 | +CFLAGS = $(RPM_OPT_FLAGS) -I. -DLINUX ${$(STATICFLAG)} | |
9 | # The following is better if you want to make sure you run with SYSV defined | |
10 | # CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV | |
11 | # Also, for SGI Irix, compile in K&R mode | |
12 | @@ -72,10 +72,10 @@ | |
13 | # install -s -c $(LOCALBINDIR) $$file | |
14 | # | |
15 | #INSTALL = cp | |
16 | -INSTALL = install -c -s | |
17 | +INSTALL = install -c | |
18 | ||
19 | # Root of installation tree | |
20 | -INSTROOT = /usr/local | |
21 | +INSTROOT = /usr | |
22 | # | |
23 | # This is where binaries should be copied | |
24 | LOCALBINDIR = ${INSTROOT}/bin | |
25 | @@ -91,7 +91,7 @@ | |
26 | FONTSUFFIX=pcf | |
27 | ||
28 | # This is where the mailcap file should be put | |
29 | -MAILCAPDIR = ${INSTROOT}/etc | |
30 | +MAILCAPDIR = /etc | |
31 | ||
32 | # This helps with the "for" constructs below on some platforms: | |
33 | SHELL=/bin/sh | |
34 | @@ -138,17 +138,6 @@ | |
35 | echo "installing man page $$target";\ | |
36 | ${CP} $$file $$target; \ | |
37 | done) | |
38 | - @(cd man; \ | |
39 | - for file in *.4; \ | |
40 | - do \ | |
41 | - target=$(MAN4DIR)/`basename $$file .4`.$(MAN4EXT); \ | |
42 | - echo "installing man page $$target";\ | |
43 | - ${CP} $$file $$target; \ | |
44 | - done) | |
45 | - @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old | |
46 | - -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old | |
47 | - @echo "installing file $(MAILCAPDIR)/mailcap" | |
48 | - ${CP} mailcap $(MAILCAPDIR) | |
49 | ||
50 | uninstall-all: | |
51 | @(cd bin; \ | |
52 | @@ -172,8 +161,6 @@ | |
53 | echo "rm-ing man page $$target";\ | |
54 | ${RM} $$target; \ | |
55 | done) | |
56 | - @echo "rm-ing file $(MAILCAPDIR)/mailcap" | |
57 | - @${RM} $(MAILCAPDIR)/mailcap | |
58 | ||
59 | clean: | |
60 | -${RM} -rf *.BAK |