Added folder to patch install location

This commit is contained in:
Dave Hibberd 2015-09-03 20:14:57 +01:00
parent b6fe7d0cdf
commit a6ea19d090
4 changed files with 34 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.pc/

32
debian/patches/folder-update vendored Normal file
View File

@ -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"

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
folder-update

1
debian/rules vendored
View File

@ -19,7 +19,6 @@ NON_INTERACTIVE := 1
%: %:
dh $@ dh $@
#override_dh_auto_install: #override_dh_auto_install:
# $(MAKE) DESTDIR=$$(pwd)/debian/uronode prefix=/usr install # $(MAKE) DESTDIR=$$(pwd)/debian/uronode prefix=/usr install