summaryrefslogtreecommitdiff
path: root/archivers/nulib2/patches/patch-ac
blob: e6e11f3d8c0faeffdadd171bd8f6127e4793db30 (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
25
26
$NetBSD: patch-ac,v 1.3 2003/07/15 09:36:46 agc Exp $

--- ../nufxlib-200/Makefile.in.orig	Mon May 22 20:15:37 2000
+++ ../nufxlib-200/Makefile.in
@@ -88,10 +88,10 @@
 # The build date is approximate, the build flags are accurate so long
 # as they were changed by touching the makefile.
 Version.c: Version.c.in Makefile
-	(sed -e "s/BUILT/`date`/" -e "s/OPTFLAGS/$(OPT)/" < Version.c.in > Version.c)
+	(sed -e "s|BUILT|`date`|" -e "s|OPTFLAGS|$(OPT)|" < Version.c.in > Version.c)
 
 clean:
-	(cd samples; make clean)
+	(cd samples; ${MAKE} clean)
 	-rm -f *.o core
 	-rm -f $(SHARED_PRODUCT) $(STATIC_PRODUCT)
 
@@ -101,7 +101,7 @@
 	@#ctags *.[ch]
 
 distclean: clean
-	(cd samples; make distclean)
+	(cd samples; ${MAKE} distclean)
 	-rm -f Version.c
 	-rm -f Makefile Makefile.bak
 	-rm -f config.log config.cache config.status config.h