forked from wifidog/wifidog-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
53 lines (44 loc) · 1.34 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# $Id$
SUBDIRS = libhttpd src . doc
docdir = ${prefix}/share/doc/wifidog-@VERSION@
doc_DATA = \
AUTHORS \
COPYING \
INSTALL \
NEWS \
README \
ChangeLog
EXTRA_DIST = \
FAQ \
wifidog.spec.in \
wifidog.spec \
config \
scripts \
contrib \
wifidog.conf
.PHONY: doc
doc:
$(MAKE) -C doc doc
.PHONY: whiterussianipk
whiterussianipk: dist
make -C $(OPENWRTSDK) distclean
mkdir -p $(OPENWRTSDK)/dl
cp -f ${srcdir}/wifidog-@[email protected] $(OPENWRTSDK)/dl/
make -C ${srcdir}/contrib/build-openwrt-whiterussianipk/wifidog TOPDIR=$(OPENWRTSDK) PKG_MD5SUM= V=99
@echo DONE. If there were no errors, your package should be in: $(OPENWRTSDK)/bin/packages/
.PHONY: kamikazeipk
kamikazeipk: dist
make -C $(OPENWRTSDK) distclean
mkdir -p $(OPENWRTSDK)/dl
cp -f ${srcdir}/wifidog-@[email protected] $(OPENWRTSDK)/dl/
make -C ${srcdir}/contrib/build-openwrt-kamikazeipk/wifidog TOPDIR=$(OPENWRTSDK) PKG_MD5SUM= V=99 SDK=1 DEVELOPER=1
@echo DONE. If there were no errors, your package should be in: $(OPENWRTSDK)/bin/packages/
.PHONY: rpm
rpm: dist
cp ${builddir}wifidog.spec /usr/src/RPM/SPECS
cp ${builddir}wifidog-@[email protected] /usr/src/RPM/SOURCES
rpmbuild -ta ${builddir}wifidog-@[email protected]
#clean-local:
# echo "clean-local: " && pwd
# rm -f /usr/src/RPM/SPECS/wifidog.spec
# rm -f /usr/src/RPM/SOURCES/wifidog-@[email protected]