2013-09-26 17:14:40 +02:00

27 lines
841 B
Plaintext

$NetBSD: patch-ac,v 1.5 2011/09/03 21:45:03 dholland Exp $
--- nufxlib-203/Makefile.in.orig Mon May 22 20:15:37 2000
+++ nufxlib-203/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