Index: applications/editors/josm/debian/rules
===================================================================
--- applications/editors/josm/debian/rules	(revision 11708)
+++ applications/editors/josm/debian/rules	(revision 12474)
@@ -24,9 +24,8 @@
 	dh_testroot
 	rm -f build-stamp
+	rm -f dist/*.jar
 
 	# Add here commands to clean up after the build process.
 	-$(MAKE) distclean
-
-	rm dist/*.jar
 
 	dh_clean
@@ -39,5 +38,5 @@
 
 #	./debian/update_svn_revision.sh
-	./debian/make_install_files.sh ${destdir} || exit -1
+	./debian/make_install_files.sh --dest-path=${destdir} || exit -1
 
 
