File: Makefile

package info (click to toggle)
wmmaiload 2.2.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 436 kB
  • ctags: 480
  • sloc: ansic: 4,043; makefile: 204; sh: 76
file content (77 lines) | stat: -rw-r--r-- 1,883 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
##################################################################
#                                                                #
# Makefile (generic program creation Makefile)                   #
#                                                                #
# Thomas Nemeth.                                                 #
#                                                                #
##################################################################


##################################################################
#                                                                #
#            PARTIE DES VARIABLES NON MODIFIABLES !              #
#              NO MODIFICATION BELOW THIS LINE !                 #
#                                                                #
##################################################################

include Init.make

INSTALLDIR = $(DESTDIR)$(PREFIX)
BINDIR     = $(INSTALLDIR)/bin
MANDIR     = $(INSTALLDIR)/share/man/man1
LIBDIR     = $(INSTALLDIR)/lib
INCDIR     = $(INSTALLDIR)/include


#*****************************************************************
# TARGET - SOURCES - OBJECTS :
#

SRCS       = $(shell ls *.1)


#*****************************************************************
# COMMON COMMANDS :
#

CP         = cp
RM         = rm
INSTALL    = install
TAR        = tar
GZIP       = gzip
SED        = sed


##################################################################
# RULES :
#

.PHONY: all mostlyclean clean distclean install install-strip uninstall

all:

mostlyclean:
	-$(RM) -f *~

clean: mostlyclean

realclean: clean

distclean: realclean

mrproper: distclean

install:
	$(INSTALL) -d --mode=2775 $(MANDIR)
	@for i in ${SRCS} ; do \
	  $(INSTALL) --mode=0664 $$i $(MANDIR); \
	done

install-strip: install

uninstall:
	@for i in ${SRCS} ; do \
	  $(RM) -f $(MANDIR)/$$i \
	done