Commit b108ed6b authored by Oliver Lowe's avatar Oliver Lowe
Browse files

debian: remove unused source package files

We are only building a binary package
parent 1d4232dd
Pipeline #756 failed with stage
in 18 seconds
usr/sbin
var/lib/openvpn-server/openssl
var/lib/openvpn-server/openvpn
usr/share/openvpn-server/config-templates
etc/openvpn-server/openssl
usr/lib/openvpn-server/ovs-commands
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DESTDIR=$(CURDIR)/debian/openvpn-server
build:
## Nothing to do ##
clean:
dh_testdir
dh_testroot
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Copy!
cp config/* $(DESTDIR)/usr/share/openvpn-server/config-templates
cp scripts/* $(DESTDIR)/usr/lib/openvpn-server/ovs-commands
chmod 0755 $(DESTDIR)/usr/lib/openvpn-server/ovs-commands/*
cp bin/ovs $(DESTDIR)/usr/sbin
cp -a clients/windows $(DESTDIR)/usr/share/openvpn-server/windows-client
cp -a clients/debian $(DESTDIR)/usr/share/openvpn-server/debian-client
cp functions.sh $(DESTDIR)/usr/share/openvpn-server
cp calc-ip-range.sh $(DESTDIR)/usr/share/openvpn-server
chmod 0755 $(DESTDIR)/usr/share/openvpn-server/calc-ip-range.sh
mkdir -p $(DESTDIR)/usr/share/nsis/Plugins/
cp plugins/KillProc.dll $(DESTDIR)/usr/share/nsis/Plugins/KillProc.dll
mkdir -p $(DESTDIR)/etc/bash_completion.d/
cp bash_completion.d/ovs $(DESTDIR)/etc/bash_completion.d/ovs
chmod 644 $(DESTDIR)/etc/bash_completion.d/ovs
dh_link -i
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs -i
dh_installchangelogs -i
dh_installdebconf -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build install
# Nothing to do here, move along
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment