summaryrefslogtreecommitdiff
path: root/x11/9menu/files/patch-aa
blob: 375c3ac91895661ab7853a38efa82b8d9e99c70b (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
30
31
*** Makefile.orig	Fri Aug 11 15:55:35 1995
--- Makefile	Fri Aug 11 16:03:26 1995
***************
*** 6,13 ****
  # arnold@skeeve.atl.ga.us
  
  CC = gcc
! CFLAGS = -g -O
! LIBS = -lX11
  
  9menu: 9menu.c
  	$(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
--- 6,23 ----
  # arnold@skeeve.atl.ga.us
  
  CC = gcc
! CFLAGS = -O -I/usr/X11R6/include
! LIBS = -L/usr/X11R6/lib -lX11
! 
! 
! all: 9menu
  
  9menu: 9menu.c
  	$(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
+ 
+ install:
+ 	$(INSTALL) -c 9menu $(PREFIX)/bin
+ 	$(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
+ 	strip $(PREFIX)/bin/9menu
+ 	gzip -9nf $(PREFIX)/man/man1/9menu.1
+