aboutsummaryrefslogtreecommitdiff
path: root/news/newsfetch/files/patch-aa
blob: cf7d4a0e530c15debef5d7fea9febb24f61f28a1 (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
--- Makefile.orig	Mon Apr 13 18:09:54 1998
+++ Makefile	Fri May  8 02:09:12 1998
@@ -1,14 +1,16 @@
 CC = gcc
-CFLAGS = 
+#CFLAGS = 
 
 #Uncomment this if you do not want status meter
 #CFLAGS = -DNO_STATUS_METER
 
 objs = newsfetch.o nntp.o net.o opt.o util.o getopt.o
  
+all: newsfetch
+
 newsfetch: $(objs)
 	$(CC) -o newsfetch $(objs)
-	strip newsfetch
+#	strip newsfetch
 
 .c.o:
 	$(CC) -c $(CFLAGS) $< 
@@ -17,5 +19,5 @@
 	rm -f *.o newsfetch
 
 install:
-	cp newsfetch /usr/local/bin
-	cp newsfetch.1 /usr/man/man1
+	$(INSTALL_PROGRAM) newsfetch $(PREFIX)/bin
+	$(INSTALL_MAN) newsfetch.1 $(PREFIX)/man/man1