undo previous commit and redo it properly via a patch file instead of
[invirt/packages/invirt-vnc-client.git] / debian / rules
index 533190a..269ce9d 100755 (executable)
@@ -1,7 +1,14 @@
 #!/usr/bin/make -f
 #!/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"
 
 
-DEB_MAKE_INSTALL_TARGET = install INSTALL_DIR=$(DEB_DESTDIR)/usr/share/invirt-vnc-client
+override_dh_auto_install:
+       dh_auto_install -- INSTALL_DIR=debian/invirt-vnc-client/usr/share/invirt-vnc-client/
+
+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