* man/Makefile (SOURCES): Remove all man pages but
[glibc/history.git] / linuxthreads / man / Makefile
blobd82e893566aca991d4e0c4a1ced97693f934be20
1 SOURCES= pthread_cleanup_push.man \
2 pthread_kill_other_threads_np.man pthread_mutexattr_setkind_np.man
4 MANPAGES=$(SOURCES:.man=.3thr)
6 PREPRO=perl troffprepro
8 MANDIR=/usr/man/man3
10 all: $(MANPAGES)
12 .SUFFIXES: .man .3thr
14 .man.3thr:
15 $(PREPRO) $*.man $*.3thr
17 $(MANPAGES): troffprepro
19 clean:
20 rm -f *.3thr
21 rm -f *~
23 install:
24 install *.3thr $(MANDIR)
25 @echo "*** Remember to run /usr/sbin/makewhatis `dirname $(MANDIR)` at some point"