-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (37 loc) · 1.49 KB
/
Makefile
File metadata and controls
47 lines (37 loc) · 1.49 KB
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
SOURCES = \
sb_autogen_slack-required.2.7 \
lxc-spbuilder-1402 \
spbuilder \
spbuilder-1402.conf \
spbuilder.build \
spbuilder.stop \
spbuilder.create.in \
spbuilder.update.in \
spbuilder.wrapper.in \
spbuilder_repo.i686 \
spbuilder_repo.x86_64 \
spbuilderrc.default
DESTDIR =
build: $(SOURCES)
man: spbuilder.rst
install -d $(DESTDIR)/usr/man/man1
rst2man.py spbuilder.rst |sed -e "s/Slackware ® Package/Slackware<AE> Package/" |gzip -9 >$(DESTDIR)/usr/man/man1/spbuilder.1.gz
install: build man
install -d $(DESTDIR)/etc/spbuilder
install -d $(DESTDIR)/usr/bin
install -d $(DESTDIR)/usr/share/lxc/templates
install -d $(DESTDIR)/usr/share/spbuilder
install -d $(DESTDIR)/var/cache/spbuilder/{build,log,result,distfiles,slackbuilds}
install -m 0755 lxc-spbuilder-1402 $(DESTDIR)/usr/share/lxc/templates
install -m 0755 spbuilder $(DESTDIR)/usr/bin
install -m 0755 spbuilder-1402.conf $(DESTDIR)/etc/spbuilder
install -m 0755 -T spbuilderrc.default $(DESTDIR)/etc/spbuilder/spbuilderrc
install -m 0755 spbuilder.build $(DESTDIR)/usr/share/spbuilder
install -m 0755 spbuilder.stop $(DESTDIR)/usr/share/spbuilder
install -m 0755 spbuilder.create.in $(DESTDIR)/usr/share/spbuilder
install -m 0755 spbuilder.update.in $(DESTDIR)/usr/share/spbuilder
install -m 0755 spbuilder.wrapper.in $(DESTDIR)/usr/share/spbuilder
install -m 0755 spbuilder_repo.{i686,x86_64} $(DESTDIR)/usr/share/spbuilder
install -m 0755 sb_autogen_slack-required.2.7 $(DESTDIR)/usr/share/spbuilder
clean:
@-rm -f op