summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2015-09-03 20:14:57 +0100
committerDave Hibberd <d@vehibberd.com>2015-09-03 20:38:10 +0100
commita6ea19d090d331f5d317bd84b67a5a75cab31d4f (patch)
tree167a456a45013647297cd337fe6888e925425a33
parentb6fe7d0cdfddf31eafc09d6ac94cf046d6d60ae4 (diff)
Added folder to patch install location
-rw-r--r--.gitignore1
-rw-r--r--debian/patches/folder-update32
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules1
4 files changed, 34 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..224e7f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.pc/
diff --git a/debian/patches/folder-update b/debian/patches/folder-update
new file mode 100644
index 0000000..82aab26
--- /dev/null
+++ b/debian/patches/folder-update
@@ -0,0 +1,32 @@
+Description: Update the folders this is installed to
+Author: Dave Hibberd <d@vehibberd.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure
++++ b/configure
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-
++NON_INTERACTIVE == 1
+ _sleep()
+ {
+ [ "$NON_INTERACTIVE" = 1 ] || sleep "$@"
+@@ -14,12 +14,12 @@
+ _sleep 2
+ make distclean > make.debug
+
+-ETC_DIR=/usr/local/etc/ax25
+-SBIN_DIR=/usr/local/sbin
+-BIN_DIR=/usr/local/bin
+-LIB_DIR=/usr/local/lib
+-MAN_DIR=/usr/local/share/man
+-VAR_DIR=/usr/local/var/ax25
++ETC_DIR=debian/uronode/etc/ax25
++SBIN_DIR=debian/uronode/usr/sbin
++BIN_DIR=debian/uronode/usr/bin
++LIB_DIR=debian/uronode/usr/lib
++MAN_DIR=debian/uronode/usr/share/man
++VAR_DIR=debian/uronode/usr/var/ax25
+
+ echo "Welcome to the configuration utility for URONode. This configure script"
+ echo "will very simply and easily guide you into installling URONode with as"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8425b1f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+folder-update
diff --git a/debian/rules b/debian/rules
index 01903c1..8171044 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,6 @@ NON_INTERACTIVE := 1
%:
dh $@
-
#override_dh_auto_install:
# $(MAKE) DESTDIR=$$(pwd)/debian/uronode prefix=/usr install