X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-client.git/blobdiff_plain/b5ae9ccd719ed01a34d3a40b3aa7f4773f83e4f1..c5a72140d0de9b83185212056054d94b695f80bf:/debian/rules?ds=inline diff --git a/debian/rules b/debian/rules index 87093b1..269ce9d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,14 @@ #!/usr/bin/make -f +%: + dh $@ --with quilt -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="-source 1.5 -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