diff options
Diffstat (limited to 'server/rules.mk')
-rw-r--r-- | server/rules.mk | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/server/rules.mk b/server/rules.mk index 8ef3676a..69f3c45a 100644 --- a/server/rules.mk +++ b/server/rules.mk @@ -4,7 +4,7 @@ etags: ctags: ctags `find $(srcdir) -name "*.[ch]"` -.SUFFIXES: .c .o +.SUFFIXES: .c .o .xml .1.xml .3.xml .5.xml .8.xml .1 .3 .5 .8 .c.o: @echo Compiling $*.c @@ -16,6 +16,22 @@ ctags: @mkdir -p `dirname $@` @$(CC) -fPIC $(CFLAGS) -c $< -o $@ +.1.xml.1: + $(XMLLINT) $(XMLLINT_FLAGS) $< + $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $< + +.3.xml.3: + $(XMLLINT) $(XMLLINT_FLAGS) $< + $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $< + +.5.xml.5: + $(XMLLINT) $(XMLLINT_FLAGS) $< + $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $< + +.8.xml.8: + $(XMLLINT) $(XMLLINT_FLAGS) $< + $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $< + showflags:: @echo 'server will be compiled with flags:' @echo ' CFLAGS = $(CFLAGS)' |