File: Makefile%2Cv

package info (click to toggle)
dmbt 0.1.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 308 kB
  • ctags: 102
  • sloc: perl: 1,590; makefile: 74; python: 65
file content (143 lines) | stat: -rw-r--r-- 1,927 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	2000.08.21.20.47.38;	author dwitch;	state Exp;
branches;
next	1.4;

1.4
date	2000.08.20.23.23.17;	author dwitch;	state Exp;
branches;
next	1.3;

1.3
date	2000.08.20.13.18.20;	author dwitch;	state Exp;
branches;
next	1.2;

1.2
date	2000.08.19.22.10.18;	author dwitch;	state Exp;
branches;
next	1.1;

1.1
date	2000.08.19.21.54.28;	author dwitch;	state Exp;
branches;
next	;


desc
@@


1.5
log
@- Renamed DebBugs:: perl hierarchy to Debbugs::
@
text
@DESTDIR=
prefix=/usr
perldir=${prefix}/lib/perl5
bindir=${prefix}/bin
mandir=${prefix}/share/man
man1dir=${mandir}/man1
man3dir=${mandir}/man3

LIBS= \
 Debbugs/DMBT.pm \
 Debbugs/DMBT/GUI.pm \
 Debbugs/RemoteBTS.pm \
 Debbugs/RemoteBTS/LDAP.pm \
 Debbugs/BugReport.pm \

PROGS= \
	dmbt

MAN1ROOTS=doc/dmbt
MAN1S=${MAN1ROOTS:=.1}

MANS=${MAN1S}

all: ${MANS}

install: install-progs install-libs install-docs

install-progs: ${PROGS}
	install -m755 -d ${DESTDIR}${bindir}
	install -m755 $^ ${DESTDIR}${bindir}

install-libs: ${LIBS}
	for lib in $^ ; do \
	  install -m755 -d ${DESTDIR}${perldir}/`dirname $$lib` ; \
	  install -m644 $$lib ${DESTDIR}${perldir}/`dirname $$lib` ; \
	done

install-docs: ${MANS}
	install -m755 -d ${DESTDIR}${man1dir}
	install -m644 ${MAN1S} ${DESTDIR}${man1dir}

clean:
	rm -rf ${MANS}

%.1: %.sgml
	docbook-to-man $< > $@@
@


1.4
log
@- Fixed installation of perl modules
@
text
@d10 5
a14 5
 DebBugs/DMBT.pm \
 DebBugs/DMBT/GUI.pm \
 DebBugs/RemoteBTS.pm \
 DebBugs/RemoteBTS/LDAP.pm \
 DebBugs/BugReport.pm \
@


1.3
log
@Build and install manpages
@
text
@d33 4
a36 2
	install -m755 -d ${DESTDIR}${perldir}
	install -m644 $^ ${DESTDIR}${perldir}
@


1.2
log
@- Install dmbt executable
- Dummy clean target
@
text
@d5 3
d19 8
a26 1
install: install-progs install-libs
d36 4
d41 4
@


1.1
log
@Initial revision
@
text
@d20 1
a20 1
	install -m644 $^ ${DESTDIR}${bindir}
d25 2
@