File: Makefile.in

package info (click to toggle)
ipfm 0.11.5-4.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 356 kB
  • ctags: 129
  • sloc: ansic: 1,148; yacc: 328; sh: 210; makefile: 146; lex: 130
file content (47 lines) | stat: -rw-r--r-- 1,393 bytes parent folder | download | duplicates (3)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# Makefile for ipfm
# Copyright (c) 1999-2002 Robert CHERAMY <robert@cheramy.net>
# Copyright (c) 2001 Lo�c Tortay & IN2P3 Computing Center <tortay@cc.in2p3.fr>
#

include ./Makefile.common

all: binary docs

binary: Makefile source/Makefile
	@cd source && $(MAKE) && cd ..

docs: Makefile doc/Makefile
	@cd doc && $(MAKE) && cd ..

install: all
	$(INSTALL) -d -m 755 $(SBINDIR)
	$(INSTALL) -m 555 source/ipfm $(SBINDIR)/ipfm
	$(INSTALL) -d -m 755 $(ETCDIR)
	[ -f $(CONFIGFILE) ] || \
	  $(INSTALL) -m 644 ipfm.conf.sample $(CONFIGFILE)
	$(INSTALL) -d -m 755 $(MANDIR)/man5
	$(INSTALL) -d -m 755 $(MANDIR)/man8
	$(INSTALL) -m 444 doc/ipfm.conf.5 $(MANDIR)/man5/ipfm.conf.5
	$(INSTALL) -m 444 doc/ipfm.8 $(MANDIR)/man8/ipfm.8
	$(INSTALL) -d -m 755 $(LOGDIR)/ipfm
	$(INSTALL) -d -m 755 $(VARRUNDIR)

clean:
	@cd source && $(MAKE) clean && cd .. && \
	  cd doc && $(MAKE) clean && cd ..

distclean: clean
	$(RM) config.cache config.log config.status \
	  Makefile Makefile.common *~ core \
	  source/Makefile source/*~ source/core source/config.h \
	  source/missing/Makefile doc/Makefile doc/*~

configdump:
	@echo "Configuration:" && \
	echo "   ipfm is in               @sbindir@" && \
	echo "   man pages are in         @mandir@" && \
	echo "   configuration file is    $(CONFIGFILE)" && \
	echo "   pid file is              $(PIDFILE)" && \
	echo "   log files are            $(LOGFILE)"