uronode/debian/patches/install-dir-creation

24 lines
707 B
Plaintext
Raw Normal View History

Description: Create proper SBIN_DIR directory at install time
Author: Dave Hibberd <d@vehibberd.com>
2017-08-22 14:03:55 +01:00
Last-Update: 2017-08-22
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,8 +2,6 @@
CC = gcc
LD = gcc
-# CFLAGS = -O2 -g -s -Wno-unused-result -Wstrict-prototypes
-# CFLAGS = -DUNIX -g3 -DDEBUG
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
@@ -38,6 +36,7 @@
2016-04-01 16:26:54 +01:00
install -b -m 644 -p etc/gateways $(VAR_DIR)/flex
installbin: all
+ install -m 755 -D -d $(SBIN_DIR)
install -m 755 -s -p uronode $(SBIN_DIR)
install -m 755 -s -p nodeusers $(SBIN_DIR)
install -m 755 -s -p axdigi $(SBIN_DIR)