diff options
| author | Dave Hibberd <d@vehibberd.com> | 2020-03-24 20:59:16 +0000 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2020-03-24 21:26:36 +0000 |
| commit | f82df102ac4b4ff6d87cffbbaf35a09fa740a143 (patch) | |
| tree | 050e0a44d16da415d26ca241679c14e032570ee2 /debian/patches/makefile-install-locations | |
| parent | 93a75b098cfd7eef8dc24f9eb98c278b726cba59 (diff) | |
Updated changelog, refreshed patches
Diffstat (limited to 'debian/patches/makefile-install-locations')
| -rw-r--r-- | debian/patches/makefile-install-locations | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/debian/patches/makefile-install-locations b/debian/patches/makefile-install-locations index c511c3d..ee67e1e 100644 --- a/debian/patches/makefile-install-locations +++ b/debian/patches/makefile-install-locations @@ -2,37 +2,38 @@ Description: Install files to temporary directory for packaging Author: Dave Hibberd <d@vehibberd.com> Last-Update: 2018-12-27 ---- a/Makefile.include.in -+++ b/Makefile.include.in -@@ -2,12 +2,12 @@ - ARCH = @ARCH@ - - # Paths --ETC_DIR = @ETC_DIR@ --SBIN_DIR = @SBIN_DIR@ --BIN_DIR = @BIN_DIR@ --LIB_DIR = @LIB_DIR@ --MAN_DIR = @MAN_DIR@ --VAR_DIR = @VAR_DIR@ -+ETC_DIR = debian/uronode@ETC_DIR@ -+SBIN_DIR = debian/uronode@SBIN_DIR@ -+BIN_DIR = debian/uronode@BIN_DIR@ -+LIB_DIR = debian/uronode@LIB_DIR@ -+MAN_DIR = debian/uronode@MAN_DIR@ -+VAR_DIR = debian/uronode@VAR_DIR@ - - # Is Zlib available? --ZLIB = @ZLIB@ -\ No newline at end of file -+ZLIB = @ZLIB@ --- a/configure +++ b/configure -@@ -20,7 +20,7 @@ - [ "$LIB_DIR" ] || LIB_DIR=/usr/lib - [ "$DATA_DIR" ] || DATA_DIR=/usr/share - [ "$MAN_DIR" ] || MAN_DIR=/usr/share/man +@@ -1,5 +1,11 @@ + #!/bin/sh + ++echo -n "Use interactive mode? [Y/n]: "; read answer ++if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ] ++ then NON_INTERACTIVE=0; ++ else NON_INTERACTIVE=1; ++fi ++ + _sleep() + { + [ "$NON_INTERACTIVE" = 1 ] || sleep "$@" +@@ -14,13 +20,13 @@ + _sleep 2 + make distclean > make.debug + +-[ "$ETC_DIR" ] || ETC_DIR=/etc/ax25 +-[ "$SBIN_DIR" ] || SBIN_DIR=/usr/sbin +-[ "$BIN_DIR" ] || BIN_DIR=/usr/bin +-[ "$LIB_DIR" ] || LIB_DIR=/usr/lib +-[ "$DATA_DIR" ] || DATA_DIR=/usr/share +-[ "$MAN_DIR" ] || MAN_DIR=/usr/share/man -[ "$VAR_DIR" ] || VAR_DIR=/var/lib/ax25 -+[ "$VAR_DIR" ] || VAR_DIR=/var/ax25 ++[ "$ETC_DIR" ] || ETC_DIR=/usr/local/etc/ax25 ++[ "$SBIN_DIR" ] || SBIN_DIR=/usr/local/sbin ++[ "$BIN_DIR" ] || BIN_DIR=/usr/local/bin ++[ "$LIB_DIR" ] || LIB_DIR=/usr/local/lib ++[ "$DATA_DIR" ] || DATA_DIR=/usr/local/share ++[ "$MAN_DIR" ] || MAN_DIR=/usr/local/share/man ++[ "$VAR_DIR" ] || VAR_DIR=/usr/local/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" |
