summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \