Commit 1e92d9a8 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 #757 passed with stage
in 19 seconds
......@@ -6,8 +6,8 @@ package:
image: debian
stage: package
script:
- cp dist/control dist/control.skel
- dist/bumpver dist/control.skel > dist/control
- cp debian/control debian/control.skel
- debian/bumpver debian/control.skel > debian/control
- debian/mkdeb
artifacts:
paths:
......
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
Supports Markdown
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