summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-07-10 00:23:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-07-10 00:23:24 +0900
commit5bb4d4359a52e9caf331f6001b953dc553df64df (patch)
tree0e0ef61d88a17bf3fd53ee7bc32d3ec4b765b545 /debian/rules
downloaduniversal-indent-gui-tqt-5bb4d4359a52e9caf331f6001b953dc553df64df.tar.gz
universal-indent-gui-tqt-5bb4d4359a52e9caf331f6001b953dc553df64df.zip
Initial import of UniversalIndentGUI 1.2.0 from Debian snapshot
(https://snapshot.debian.org/package/universalindentgui/1.2.0-1.1). The code is available under GPL2 licence. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9c45c12
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --parallel --buildsystem=qmake_qt4
+
+override_dh_auto_install:
+ dh_auto_install
+
+ # Remove shellindent
+ rm -f debian/universalindentgui/usr/share/universalindentgui/indenters/example.sh
+ rm -f debian/universalindentgui/usr/share/universalindentgui/indenters/shellindent.awk
+ rm -f debian/universalindentgui/usr/share/universalindentgui/indenters/uigui_shellindent.ini
+
+ # Fix lintian warnings/errors
+ find debian/universalindentgui/usr/share/universalindentgui -type f -exec chmod a-x '{}' \;
+ find debian/universalindentgui/usr/share/universalindentgui -type f -name '*.rb' | xargs chmod a+x