summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-12-11 17:18:40 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-12-11 17:18:40 +0000
commit4c12f30420340a4a4f0f6f0d21d20da988982820 (patch)
tree081c8717ad06e755df4462dcdfc9b6936dc2dd90
parentb87a680569dd388ad108d43087aee6c8a50ff663 (diff)
Fix mkhtmlindex rules to not use $< so they work with non-GNU makes.MODULAR_COPY
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am10
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ed0e8a..44d63ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-11 Alan Coopersmith <alan.coopersmith@sun.com>
+
+ * Makefile.am:
+ Fix mkhtmlindex rules to not use $< so they work with non-GNU makes.
+
2005-12-10 Kevin E. Martin <kem-at-freedesktop-dot-org>
* Makefile.am:
diff --git a/Makefile.am b/Makefile.am
index f175aaa..cd4545b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -83,13 +83,15 @@ mergelib: mergelib.cpp
$(RAWCPP) $(RAWCPPFLAGS) -DARCMD="$(ARCMD)" -DRANLIB="$(RANLIB)" < $(srcdir)/mergelib.cpp | $(SED) -e /^\#/d | $(SED) -e s/XCOMM/\#/ > $@
if HAS_PERL
-mkhtmlindex: mkhtmlindex.pl
- cp $< $@
+MKHTMLINDEX_SCRIPT = $(srcdir)/mkhtmlindex.pl
else
-mkhtmlindex: mkhtmlindex.sh
- cp $< $@
+MKHTMLINDEX_SCRIPT = $(srcdir)/mkhtmlindex.sh
endif
+mkhtmlindex: $(MKHTMLINDEX_SCRIPT)
+ cp $(MKHTMLINDEX_SCRIPT) $@
+
+
CLEANFILES = \
xmkmf \
ccmakedep \