configure: configure-stamp
configure-stamp:
dh_testdir
- cd src && ./configure --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uayntun/examples && cd ..
+ cd src && ./configure --prefix=/usr --sysconfdir=/etc --examplesdir=/usr/share/uanytun/examples && cd ..
touch configure-stamp
build: build-stamp
dh_testroot
rm -f build-stamp configure-stamp
- cd src && $(MAKE) clean && cd ..
+ cd src && $(MAKE) distclean && cd ..
cd doc && $(MAKE) clean && cd ..
# drop leftover file:
rm -f src/tun.c
+ # Add here commands to clean up after the build process.
+ $(MAKE) --directory=$(CURDIR)/src distclean
dh_clean
install: build
+++ /dev/null
-# this file was created automatically
-# do not edit this file directly
-# use ./configure instead
-
-TARGET := Linux
-CC := gcc
-CFLAGS := -g -O2
-LDFLAGS := -g -Wall -O2 -lgcrypt
-STRIP := strip
-INSTALL := install
-
-PREFIX := /usr/local
-SBINDIR := /usr/local/sbin
-ETCDIR := /usr/local/etc
-MANDIR := /usr/local/share/man
-EXAMPLESDIR := /usr/local/share/examples