[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: Updated archive and cvs links on homepage
From: |
Mark Wielaard |
Subject: |
Re: FYI: Updated archive and cvs links on homepage |
Date: |
Wed, 26 May 2004 00:05:57 +0200 |
Hi,
On Tue, 2004-05-25 at 21:59, Patrik Reali wrote:
> you are right. The only problem is, I have no clue (yet) how to do it:
> there is a default rule, but I don't know how can I override it for this
> particular case. Any suggestion? (Maybe I'm just blind and don't see the
> obvious solution).
How about this?
--- Makefile 15 Mar 2004 21:54:14 -0000 1.15
+++ Makefile 25 May 2004 22:05:54 -0000
@@ -10,13 +10,19 @@
WML_SRC = $(wildcard *.wml)
WML_OBJS = $(patsubst %.wml,%.html,$(WML_SRC))
+all : $(WML_OBJS) subdirs
+
%.texinfo :
cp ../$(notdir $(@)) docs
-%.html: %.wml include/macros.wml include/layout.wml
+# home and news html includes newsitems.txt so we list that here explicitly
+home.html: home.wml include/macros.wml include/layout.wml newsitems.txt
+ $(WML) -o $@ $<
+news.html: news.wml include/macros.wml include/layout.wml newsitems.txt
$(WML) -o $@ $<
-all : $(WML_OBJS) subdirs
+%.html: %.wml include/macros.wml include/layout.wml
+ $(WML) -o $@ $<
.PHONY : clean
clean :
Only very briefly tested.
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part