root/trunk/wifidog/Makefile.am

Revision 1340, 1.3 KB (checked in by benoitg, 4 years ago)
  • Integrate with OpenWRT kamikaze build system
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3SUBDIRS = libhttpd src . doc
4
5docdir = ${prefix}/share/doc/wifidog-@VERSION@
6
7doc_DATA = \
8  AUTHORS \
9  COPYING \
10  INSTALL \
11  NEWS \
12  README \
13  ChangeLog
14 
15EXTRA_DIST = \
16  FAQ \
17  wifidog.spec.in \
18  wifidog.spec \
19  config \
20  scripts \
21  contrib \
22  wifidog.conf
23
24.PHONY: doc
25doc:
26        $(MAKE) -C doc doc
27       
28.PHONY: whiterussianipk
29whiterussianipk: dist
30        make -C $(OPENWRTSDK) distclean
31        mkdir -p  $(OPENWRTSDK)/dl
32        cp -f ${srcdir}/wifidog-@VERSION@.tar.gz $(OPENWRTSDK)/dl/
33        make -C ${srcdir}/contrib/build-openwrt-whiterussianipk/wifidog TOPDIR=$(OPENWRTSDK) PKG_MD5SUM= V=99
34        @echo DONE.  If there were no errors, your package should be in: $(OPENWRTSDK)/bin/packages/
35
36.PHONY: kamikazeipk
37kamikazeipk: dist
38        make -C $(OPENWRTSDK) distclean
39        mkdir -p  $(OPENWRTSDK)/dl
40        cp -f ${srcdir}/wifidog-@VERSION@.tar.gz $(OPENWRTSDK)/dl/
41        make -C ${srcdir}/contrib/build-openwrt-kamikazeipk/wifidog TOPDIR=$(OPENWRTSDK) PKG_MD5SUM= V=99 SDK=1 DEVELOPER=1
42        @echo DONE.  If there were no errors, your package should be in: $(OPENWRTSDK)/bin/packages/
43
44.PHONY: rpm
45rpm: dist
46        cp ${builddir}wifidog.spec /usr/src/RPM/SPECS
47        cp ${builddir}wifidog-@VERSION@.tar.gz /usr/src/RPM/SOURCES
48        rpmbuild -ta ${builddir}wifidog-@VERSION@.tar.gz
49
50#clean-local:
51#       echo "clean-local: " && pwd
52#       rm -f /usr/src/RPM/SPECS/wifidog.spec
53#       rm -f /usr/src/RPM/SOURCES/wifidog-@VERSION@.tar.gz
Note: See TracBrowser for help on using the browser.