File: Makefile.in

package info (click to toggle)
hdup 2.0.14-5.2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 628 kB
  • sloc: ansic: 3,528; sh: 3,287; perl: 218; makefile: 134
file content (38 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (4)
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
# Standard installation path names
VERSION		= @PACKAGE_VERSION@
# use by tar to package hdup
home	= $(shell pwd)
base	= $(shell basename ${home})
hdup2	= hdup2

.PHONY:	clean install all uninstall tar tarclean web doclean

all:	hdup Makefile

hdup:	
	@echo hdup version: ${VERSION}
	@(cd src ; $(MAKE) all)
	
clean: tarclean docclean
	@rm -f Makefile
	@rm -f config.log
	@rm -rf config.status
	@rm -rf autom4te.cache
	(cd src ; $(MAKE) clean)

tarclean:
	@echo -n "Removing .tar files..."
	@rm -f hdup*.tar.bz2
	@echo "done"

docclean:
	@echo -n "Removing web docs..."
	@rm -f doc/hdup.1.html doc/hdup.conf.5.html
	@rm -f doc/grohtml*.png
	@echo "done"

uninstall:
	@(cd src ; make uninstall )

install: 
	@(cd src ; make install )