mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
25 lines
491 B
Makefile
25 lines
491 B
Makefile
|
|
MANPAGES = emile.8.gz emile-install.8.gz emile-set-cmdline.8.gz emile-first-tune.8.gz emile-map-set.8.gz emile-set-output.8.gz
|
|
|
|
MANPATH = /usr/share/man/man8
|
|
|
|
MANPAGESWPATH = $(foreach file, $(MANPAGES), $(MANPATH)/$(file))
|
|
|
|
all: $(MANPAGES)
|
|
|
|
%.8: %.sgml
|
|
docbook-to-man $< > $@
|
|
|
|
%.8.gz: %.8
|
|
gzip -9c $< > $@
|
|
|
|
clean:
|
|
-rm -f *.8.gz
|
|
|
|
install: all
|
|
install -m 755 -d $(DESTDIR)/$(PREFIX)/$(MANPATH)
|
|
install -m 644 *.8.gz $(DESTDIR)/$(PREFIX)/$(MANPATH)
|
|
|
|
uninstall:
|
|
rm -f $(MANPAGESWPATH)
|