[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r3835 - in gnuradio/trunk/gr-howto-write-a-block: . do
From: |
gdt |
Subject: |
[Commit-gnuradio] r3835 - in gnuradio/trunk/gr-howto-write-a-block: . doc |
Date: |
Mon, 23 Oct 2006 08:58:05 -0600 (MDT) |
Author: gdt
Date: 2006-10-23 08:58:05 -0600 (Mon, 23 Oct 2006)
New Revision: 3835
Modified:
gnuradio/trunk/gr-howto-write-a-block/Makefile.common
gnuradio/trunk/gr-howto-write-a-block/configure.ac
gnuradio/trunk/gr-howto-write-a-block/doc/Makefile.am
Log:
Search for rm, and substitute it. Avoids assumption that make
predefines RM (BSD make does not).
Modified: gnuradio/trunk/gr-howto-write-a-block/Makefile.common
===================================================================
--- gnuradio/trunk/gr-howto-write-a-block/Makefile.common 2006-10-23
13:22:48 UTC (rev 3834)
+++ gnuradio/trunk/gr-howto-write-a-block/Makefile.common 2006-10-23
14:58:05 UTC (rev 3835)
@@ -36,3 +36,8 @@
# swig flags
SWIGPYTHONFLAGS = -fvirtual -python -modern
SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig -I$(GNURADIO_CORE_INCLUDEDIR)
+
+# Don't assume that make predefines $(RM), because BSD make does
+# not. We define it now in configure.ac using AM_PATH_PROG, but now
+# here have to add a -f to be like GNU make.
+RM=$(RM_PROG) -f
Modified: gnuradio/trunk/gr-howto-write-a-block/configure.ac
===================================================================
--- gnuradio/trunk/gr-howto-write-a-block/configure.ac 2006-10-23 13:22:48 UTC
(rev 3834)
+++ gnuradio/trunk/gr-howto-write-a-block/configure.ac 2006-10-23 14:58:05 UTC
(rev 3835)
@@ -36,6 +36,7 @@
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_INSTALL
+AC_PATH_PROG([RM_PROG], [rm])
AC_LIBTOOL_WIN32_DLL
AC_ENABLE_SHARED dnl do build shared libraries
Modified: gnuradio/trunk/gr-howto-write-a-block/doc/Makefile.am
===================================================================
--- gnuradio/trunk/gr-howto-write-a-block/doc/Makefile.am 2006-10-23
13:22:48 UTC (rev 3834)
+++ gnuradio/trunk/gr-howto-write-a-block/doc/Makefile.am 2006-10-23
14:58:05 UTC (rev 3835)
@@ -72,7 +72,7 @@
# ----------------------------------------------------------------
clean:
- -rm -f $(TARGETS) $(BUILT_XML_FILES)
+ -${RM} -f $(TARGETS) $(BUILT_XML_FILES)
%.html : %.xml
xmlto html-nochunks $<
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r3835 - in gnuradio/trunk/gr-howto-write-a-block: . doc,
gdt <=