summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile18
-rw-r--r--docs/Makefile7
-rw-r--r--libxrdp/Makefile3
-rw-r--r--rdp/Makefile3
-rw-r--r--sesman/Makefile6
-rw-r--r--vnc/Makefile2
-rw-r--r--xrdp/Makefile10
-rw-r--r--xup/Makefile3
8 files changed, 52 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 75c10990..fa354be9 100644
--- a/Makefile
+++ b/Makefile
@@ -49,3 +49,21 @@ install:
if [ -d /etc/pam.d ]; then install instfiles/pam.d/sesman /etc/pam.d/sesman; fi
install instfiles/xrdpstart.sh $(DESTDIR)/xrdpstart.sh
install instfiles/xrdp_control.sh $(DESTDIR)/xrdp_control.sh
+
+installdeb:
+ mkdir -p $(DESTDIRDEB)/usr/xrdp
+ mkdir -p $(DESTDIRDEB)/etc/xrdp
+ mkdir -p $(DESTDIRDEB)/etc/pam.d
+ mkdir -p $(DESTDIRDEB)/etc/init.d
+ mkdir -p $(DESTDIRDEB)/usr/man
+ mkdir -p $(DESTDIRDEB)/usr/man/man5
+ mkdir -p $(DESTDIRDEB)/usr/man/man8
+ make -C vnc installdeb DESTDIRDEB=$(DESTDIRDEB)
+ make -C libxrdp installdeb DESTDIRDEB=$(DESTDIRDEB)
+ make -C xrdp installdeb DESTDIRDEB=$(DESTDIRDEB)
+ make -C rdp installdeb DESTDIRDEB=$(DESTDIRDEB)
+ make -C sesman installdeb DESTDIRDEB=$(DESTDIRDEB)
+ make -C xup installdeb DESTDIRDEB=$(DESTDIRDEB)
+ make -C docs installdeb DESTDIRDEB=$(DESTDIRDEB)
+ install instfiles/pam.d/sesman $(DESTDIRDEB)/etc/pam.d/sesman
+ install instfiles/xrdp_control1.sh $(DESTDIRDEB)/etc/init.d/xrdp_control.sh
diff --git a/docs/Makefile b/docs/Makefile
index 07a618f0..a7caf555 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -10,3 +10,10 @@ all: world
world:
install:
+
+installdeb:
+ install man/sesman.8 $(DESTDIRDEB)/usr/man/man8/sesman.8
+ install man/sesrun.8 $(DESTDIRDEB)/usr/man/man8/sesrun.8
+ install man/xrdp.8 $(DESTDIRDEB)/usr/man/man8/xrdp.8
+ install man/sesman.ini.5 $(DESTDIRDEB)/usr/man/man5/sesman.ini.5
+ install man/xrdp.ini.5 $(DESTDIRDEB)/usr/man/man5/xrdp.ini.5
diff --git a/libxrdp/Makefile b/libxrdp/Makefile
index 68abd433..19393919 100644
--- a/libxrdp/Makefile
+++ b/libxrdp/Makefile
@@ -36,6 +36,9 @@ clean:
install:
install libxrdp.so $(DESTDIR)/libxrdp.so
+installdeb:
+ install libxrdp.so $(DESTDIRDEB)/usr/xrdp/libxrdp.so
+
file.o: ../common/file.c
$(CC) $(C_OS_FLAGS) ../common/file.c
diff --git a/rdp/Makefile b/rdp/Makefile
index 1b0cb8d7..cfcf173b 100644
--- a/rdp/Makefile
+++ b/rdp/Makefile
@@ -34,3 +34,6 @@ ssl_calls.o: ../common/ssl_calls.c
install:
install librdp.so $(DESTDIR)/librdp.so
+
+installdeb:
+ install librdp.so $(DESTDIRDEB)/usr/xrdp/librdp.so
diff --git a/sesman/Makefile b/sesman/Makefile
index 797404c7..dd6c276f 100644
--- a/sesman/Makefile
+++ b/sesman/Makefile
@@ -50,6 +50,12 @@ install:
install startwm.sh $(DESTDIR)/startwm.sh
install sesman.ini $(CFGDIR)/sesman.ini
+installdeb:
+ install sesman $(DESTDIRDEB)/usr/xrdp/sesman
+ install sesrun $(DESTDIRDEB)/usr/xrdp/sesrun
+ install startwm.sh $(DESTDIRDEB)/usr/xrdp/startwm.sh
+ install sesman.ini $(DESTDIRDEB)/etc/xrdp/sesman.ini
+
os_calls.o: ../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
diff --git a/vnc/Makefile b/vnc/Makefile
index 39843243..d32ea488 100644
--- a/vnc/Makefile
+++ b/vnc/Makefile
@@ -32,3 +32,5 @@ d3des.o: ../common/d3des.c
install:
install libvnc.so $(DESTDIR)/libvnc.so
+installdeb:
+ install libvnc.so $(DESTDIRDEB)/usr/xrdp/libvnc.so
diff --git a/xrdp/Makefile b/xrdp/Makefile
index ea09ecbf..8829c375 100644
--- a/xrdp/Makefile
+++ b/xrdp/Makefile
@@ -40,6 +40,16 @@ install:
install rsakeys.ini $(CFGDIR)/rsakeys.ini
install xrdp $(DESTDIR)/xrdp
+installdeb:
+ install ad256.bmp $(DESTDIRDEB)/usr/xrdp/ad256.bmp
+ install xrdp256.bmp $(DESTDIRDEB)/usr/xrdp/xrdp256.bmp
+ install cursor0.cur $(DESTDIRDEB)/usr/xrdp/cursor0.cur
+ install cursor1.cur $(DESTDIRDEB)/usr/xrdp/cursor1.cur
+ install Tahoma-10.fv1 $(DESTDIRDEB)/usr/xrdp/Tahoma-10.fv1
+ install xrdp.ini $(DESTDIRDEB)/etc/xrdp/xrdp.ini
+ install rsakeys.ini $(DESTDIRDEB)/etc/xrdp/rsakeys.ini
+ install xrdp $(DESTDIRDEB)/usr/xrdp/xrdp
+
list.o: ../common/list.c
$(CC) $(C_OS_FLAGS) ../common/list.c
diff --git a/xup/Makefile b/xup/Makefile
index a711a584..b73f0a36 100644
--- a/xup/Makefile
+++ b/xup/Makefile
@@ -29,3 +29,6 @@ os_calls.o: ../common/os_calls.c
install:
install libxup.so $(DESTDIR)/libxup.so
+
+installdeb:
+ install libxup.so $(DESTDIRDEB)/usr/xrdp/libxup.so