mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-03 12:31:57 +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>
|
# (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
||||||
#
|
#
|
||||||
|
|
||||||
DOCBOOK2MAN = docbook2man
|
|
||||||
|
|
||||||
OBJS = $(patsubst %.sgml,%.8.gz,$(patsubst %.S,%.o,$(SOURCES:.c=.o)))
|
OBJS = $(patsubst %.sgml,%.8.gz,$(patsubst %.S,%.o,$(SOURCES:.c=.o)))
|
||||||
|
|
||||||
MODULE ?= $(shell basename $(TOP))
|
MODULE ?= $(shell basename $(TOP))
|
||||||
@ -12,9 +10,6 @@ DISTFILES ?= $(SOURCES) $(HEADERS) Makefile
|
|||||||
|
|
||||||
$(LIBRARY): $(LIBRARY)($(patsubst %.S,%.o,$(SOURCES:.c=.o)))
|
$(LIBRARY): $(LIBRARY)($(patsubst %.S,%.o,$(SOURCES:.c=.o)))
|
||||||
|
|
||||||
%.8: %.sgml
|
|
||||||
$(DOCBOOK2MAN) $<
|
|
||||||
|
|
||||||
%.8.gz: %.8
|
%.8.gz: %.8
|
||||||
gzip -9c < $< > $@
|
gzip -9c < $< > $@
|
||||||
|
|
||||||
@ -34,5 +29,5 @@ clean:
|
|||||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY)
|
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY)
|
||||||
else
|
else
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(CLEAN) $(LIBRARIES)
|
rm -f $(OBJS) $(PROGRAMS) $(LIBRARY) $(CLEAN) $(LIBRARIES) $(MANPAGES) $(MANPAGES:.8.gz=.8)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user