#! /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 $@