summaryrefslogtreecommitdiffstats
path: root/news/newsfetch/files/patch-aa
blob: 939572648da04561272ebf0f7919c172b15c403e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- Makefile.orig	Mon Mar  9 14:20:31 1998
+++ Makefile	Sat Apr  4 21:36:42 1998
@@ -1,11 +1,11 @@
 CC = gcc
-CFLAGS = 
 
 objs = main.o nntp.o net.o opt.o util.o 
  
+all: newsfetch
+
 newsfetch: $(objs)
 	$(CC) -o newsfetch $(objs)
-	strip newsfetch
 
 .c.o:
 	$(CC) -c $(CFLAGS) $< 
@@ -14,5 +14,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
OpenPOWER on IntegriCloud