11,12 → 11,17 |
# This has to be exported to make some magic below work. |
export DH_OPTIONS |
|
config-stamp: configure |
dh_testdir |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
--mandir=\$${prefix}/share/man |
touch config-stamp |
|
build: build-stamp |
build-stamp: |
build-stamp: config-stamp |
dh_testdir |
|
xmkmf |
#$(MAKE) x2vnc |
$(MAKE) |
|
touch build-stamp |
26,9 → 31,9 |
dh_testroot |
rm -f build-stamp |
|
[ ! -f Makefile ] || $(MAKE) distclean |
[ ! -f Makefile ] || $(MAKE) clean |
|
dh_clean |
dh_clean config-stamp Makefile config.status config.log config.cache |
|
install: build |
dh_testdir |
35,7 → 40,8 |
dh_testroot |
dh_clean -k |
|
$(MAKE) DESTDIR=$(CURDIR)/debian/x2vnc MANSUFFIX=1 install |
install -m 755 -d $(CURDIR)/debian/x2vnc/usr/share |
$(MAKE) DESTDIR=$(CURDIR)/debian/x2vnc install |
|
# Build architecture-independent files here. |
binary-indep: |