File: Makefile

package info (click to toggle)
logtool 1.2.8-14.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 972 kB
  • sloc: ansic: 1,829; sh: 547; makefile: 69
file content (27 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (6)
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
# This is just a bootstrap Makefile.  The real one's are in the various subdir's.
build_it: src/Makefile
	cd src ; $(MAKE)
src/Makefile:
	./configure

install: 
	cd src ; $(MAKE) install

clean: 
	rm -f a.out core *~ *.o *.a 
	cd conf ; rm -f a.out core *~ *.o *.a 
	cd doc ; rm -f a.out core *~ *.o *.a 
	cd scripts ; rm -f a.out core *~ *.o *.a 
	cd src ; $(MAKE) clean
	cd dd ; rm -f *~

distclean: clean
	rm -f config.status config.cache config.log 
	rm -Rf dd/tmp/

dd: clean
	if [ -d debian ] ; then mv -f debian debian.tmp ; fi
	ln -s dd debian
	dd/rules clean build binary
	rm -f debian
	if [ -d debian.tmp ] ; then mv -f debian.tmp debian ; fi