added installdeb to makefiles

This commit is contained in:
jsorg71 2006-03-04 01:02:09 +00:00
parent 42a6b2bdd0
commit 05178d0733
8 changed files with 52 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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