File: Makefile

package info (click to toggle)
glibc-pre2.1 2.0.93-980414-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 43,920 kB
  • ctags: 42,602
  • sloc: ansic: 325,848; asm: 23,534; makefile: 3,352; sh: 3,283; awk: 582; perl: 474; csh: 15; sed: 10
file content (31 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SOURCES=pthread_atfork.man pthread_attr_init.man pthread_cancel.man \
  pthread_cleanup_push.man pthread_cond_init.man \
  pthread_condattr_init.man pthread_create.man pthread_detach.man \
  pthread_equal.man pthread_exit.man pthread_join.man \
  pthread_key_create.man pthread_mutex_init.man \
  pthread_mutexattr_init.man pthread_once.man pthread_self.man \
  pthread_setschedparam.man pthread_sigmask.man sem_init.man \
  pthread_kill_other_threads_np.man

MANPAGES=$(SOURCES:.man=.3thr)

PREPRO=perl troffprepro

MANDIR=/usr/man/man3

all: $(MANPAGES)

.SUFFIXES: .man .3thr

.man.3thr:
	$(PREPRO) $*.man $*.3thr

$(MANPAGES): troffprepro

clean:
	rm -f *.3thr
	rm -f *~

install:
	install *.3thr $(MANDIR)
	@echo "*** Remember to run /usr/sbin/makewhatis `dirname $(MANDIR)` at some point"