mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
move doc2man to tools.mk, clean remove manpages
This commit is contained in:
parent
19d7d47d02
commit
c3f9dc3024
7
Rules.mk
7
Rules.mk
@ -2,8 +2,6 @@
|
||||
# (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
||||
#
|
||||
|
||||
DOCBOOK2MAN = docbook2man
|
||||
|
||||
OBJS = $(patsubst %.sgml,%.8.gz,$(patsubst %.S,%.o,$(SOURCES:.c=.o)))
|
||||
|
||||
MODULE ?= $(shell basename $(TOP))
|
||||
@ -12,9 +10,6 @@ DISTFILES ?= $(SOURCES) $(HEADERS) Makefile
|
||||
|
||||
$(LIBRARY): $(LIBRARY)($(patsubst %.S,%.o,$(SOURCES:.c=.o)))
|
||||
|
||||
%.8: %.sgml
|
||||
$(DOCBOOK2MAN) $<
|
||||
|
||||
%.8.gz: %.8
|
||||
gzip -9c < $< > $@
|
||||
|
||||
@ -34,5 +29,5 @@ clean:
|
||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY)
|
||||
else
|
||||
clean:
|
||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(CLEAN) $(LIBRARIES)
|
||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(CLEAN) $(LIBRARIES) $(MANPAGES) $(MANPAGES:.8.gz=.8)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user