File: Makefile

package info (click to toggle)
eukleides 1.5.4-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 672 kB
  • ctags: 951
  • sloc: ansic: 6,962; yacc: 1,780; makefile: 305; lex: 208; sh: 134; perl: 43
file content (21 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Eukleides manpages makefile
# Copyright (c) Christian Obrecht 2004-2010

include ../Config

MAN_PAGES := $(addsuffix .gz, $(wildcard *.1))

man: $(MAN_PAGES)

%.1.gz: %.1
	@gzip -c $< > $@

install: $(MAN_PAGES)
	@install -d $(MAN_DIR)
	@install -m 0644 $^ $(MAN_DIR)

uninstall:
	@$(RM) $(addprefix $(MAN_DIR)/, $(MAN_PAGES))

clean:
	@$(RM) $(MAN_PAGES)