projects
/
invirt/packages/invirt-vnc-client.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update packaging to dh7
[invirt/packages/invirt-vnc-client.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
87093b1
..
acd059a
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,11
+1,14
@@
#!/usr/bin/make -f
#!/usr/bin/make -f
+%:
+ dh $@
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/class/makefile.mk
+override_dh_auto_build:
+ dh_auto_build -- JCFLAGS="-target 1.5"
-INVIRT_VNC_CLIENT_PREFIX = $(DEB_DESTDIR)/usr/share/invirt-vnc-client
-DEB_MAKE_INSTALL_TARGET = install INSTALL_DIR=$(INVIRT_VNC_CLIENT_PREFIX)
+override_dh_auto_install:
+ dh_auto_install -- INSTALL_DIR=debian/invirt-vnc-client/usr/share/invirt-vnc-client/
-install/invirt-vnc-client::
- cp $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.jar $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.src.jar
+override_dh_install:
+ dh_install
+ mv debian/invirt-vnc-client/usr/share/invirt-vnc-client/VncViewer.jar \
+ debian/invirt-vnc-client//usr/share/invirt-vnc-client/VncViewer.src.jar