X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fsuffix.mk;h=60308b31dee878606dd7814ec9dba2a844409c4d;hb=e940363a7b70bc3373ebebeff5fe5075b5b141ec;hp=cdc22c6a9396d4ff89befcade5cbeffd9efacfd0;hpb=083e4450e89e645f9b4d4ec0d2b859f4b25f6ce8;p=ghc-hetmet.git diff --git a/mk/suffix.mk b/mk/suffix.mk index cdc22c6..60308b3 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -228,6 +228,8 @@ endif # $(JADE) -t sgml -V html-index -d $(SGMLSTYLESHEET) -c $(DOCBOOK_CATALOG) $< # $(PERL) $(COLLATEINDEX) -N -o index.sgml $(SGML2HTML) $(SGML2HTML_OPTS) $< +# touch the .html file so that it is seen to be built + @touch $@ %.html : %.tex @$(RM) $@ @@ -271,3 +273,10 @@ endif %.$(way_)o : %.$(way_)rc @$(RM) $@ windres $< $@ + +#----------------------------------------------------------------------------- +# Preprocessor suffix rule + +% : %.pp + rm -f $@ + $(CPP) $(CPP_OPTS) -x c $< | $(SED) -e '/^#/d' > $@