diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-14 13:18:40 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-14 13:18:40 +0100 |
commit | d389569d63300a1acc19c230f99333a03e0f9f5a (patch) | |
tree | e7426ff94463e12ed3667bd6174b239cf4451c81 /Makefile | |
parent | 3249182b41cf3cdf7e60aaf1d2c71d8e22d12396 (diff) | |
download | extrautils-d389569d63300a1acc19c230f99333a03e0f9f5a.tar.gz |
Add manpage for benchmark-cmd.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -9,10 +9,15 @@ scripts = assert do-until errno minimify splitmboxdaily \ setuppy-debian-versions-match viewprof fix-shebang \ musictomp3 test-flacs unpack-debian-sources mksparse \ humanify benchmark-cmd +manpagesin = $(shell ls *.1.in) CFLAGS = -Wall -O2 --std=gnu99 -all: $(progs) +all: $(progs) manpages + +manpages: $(manpagesin) + for x in $(manpagesin); do cmd=$$(basename $$x .1.in); \ + ./$$cmd --generate-manpage=$$x > $$cmd.1; done install: all install -d $(DESTDIR)$(bindir) @@ -22,3 +27,4 @@ install: all clean: rm -f $(progs) *.o + for x in $(manpagesin); do rm -f $$(basename $$x .in); done |