diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 10 |
2 files changed, 11 insertions, 4 deletions
@@ -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 \ |