forked from knxd/knxd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
38 lines (30 loc) · 853 Bytes
/
Makefile.am
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
AUTOMAKE_OPTIONS=1.9
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST=SubmittingPatches .gitignore
BUILDDIRS =
SUBDIRS=. src systemd
DIST_SUBDIRS = $(SUBDIRS) rpm
BUILT_SOURCES=path.h
CLEANFILES=path.h
path.h : Makefile
echo "#define PKGDATADIR \"${pkgdatadir}\"" >$@
echo "#define PKGLIBDIR \"${pkglibdir}\"" >>$@
# source and binary RPMs
#
.PHONY: RPM
RPM: all dist
rm -f rpm/rpm-tmp.*
make -C rpm $@
.PHONY: help HELP
help HELP:
@echo ""
@echo ""
@echo "in addition to standard targets (all, install, clean, ...)"
@echo "the following make targets may be supported (at this level):"
@echo ""
@echo " make help - print this text"
@echo " make RPM - create (source and binary) RPMs"
@echo ""
@echo "NOTE: The RPM target may fail because it requires"
@echo "additional tools that may not be present on your machine."
@echo ""