summaryrefslogtreecommitdiffstats
path: root/build
blob: 22c4114f0ddb7d2ddb1cdee6383e46c7ba4a2ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make -f

PKGS = opkhelper opkhelper-doc

$(PKGS): opkhelper.buildstamp

.SILENT: opkhelper.buildstamp
opkhelper.buildstamp:
	mkdir build && cd build && \
		../src/configure --prefix=/usr && \
		make && make DESTDIR=$$(pwd)/../dest install
	oh-installfiles $(PKGS)
	oh-installdocs opkhelper
	oh-gencontrol $(PKGS)
	oh-buildopk $(PKGS)
	touch $@