forked from tajuma/supl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (29 loc) · 787 Bytes
/
Makefile
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
TOP = .
SUBDIRS = src man
include $(TOP)/config.mk
DEBIAN_DIST = \
changelog compat control copyright libsupl-dev \
libsupl.files rules supl.files source/format
DIST = configure Makefile README AUTHORS COPYING INSTALL \
$(prefix debian/,$(DEBIAN_DIST))
all:
$(MAKE) -C src
debian:
dpkg-buildpackage -rfakeroot -us -uc -tc
install: all
$(MAKE) -C src install
$(MAKE) -C man install
clean:
$(MAKE) -C src clean
/bin/rm -f distfiles *~
/bin/rm -fr debian/supl debian/*~ configure-stamp build-stamp
dist:
/bin/rm -f distfiles
$(MAKE) distfiles
tar zcf supl-$(CONF_VERSION).tar.gz $(cat distfiles)
distfiles:
echo $(DIST) >> distfiles
@for subdir in $(SUBDIRS) ; do \
$(MAKE) -C $$subdir distfiles ; \
done
.PHONY: clean dist distfiles debian install