Mercurial > hg > forks > UniversalIndentGUI
annotate debian/rules @ 800:ca899a323c52
Pull in updated changes from Debian package.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 13 Apr 2018 02:02:06 +0300 |
parents | f9b070eedd40 |
children | 71b89219671c |
rev | line source |
---|---|
612
e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
1 #!/usr/bin/make -f |
e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
2 |
e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
3 # Uncomment this to turn on verbose mode. |
e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
4 #export DH_VERBOSE=1 |
e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
5 |
800
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
6 %: |
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
7 dh $@ --parallel --buildsystem=qmake_qt4 |
612
e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
8 |
800
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
9 override_dh_auto_install: |
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
10 dh_auto_install |
686
dc9b1d274117
Updated the Debian build files to be closer to the changes done by the new Debian package maintainer Fathi Boudra.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
628
diff
changeset
|
11 |
dc9b1d274117
Updated the Debian build files to be closer to the changes done by the new Debian package maintainer Fathi Boudra.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
628
diff
changeset
|
12 # Remove shellindent |
800
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
13 rm -f debian/universalindentgui/usr/share/universalindentgui/indenters/example.sh |
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
14 rm -f debian/universalindentgui/usr/share/universalindentgui/indenters/shellindent.awk |
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
15 rm -f debian/universalindentgui/usr/share/universalindentgui/indenters/uigui_shellindent.ini |
612
e877a8d5c6b3
Added files for creating debian packages. How to build with these files read at: http://wiki.ubuntu.com/PackagingGuide/Complete. Normally calling "debuild -us -uc" and "debuild -S -us -uc" in the debian dir will do it.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff
changeset
|
16 |
800
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
17 # Fix lintian warnings/errors |
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
18 find debian/universalindentgui/usr/share/universalindentgui -type f -exec chmod a-x '{}' \; |
ca899a323c52
Pull in updated changes from Debian package.
Matti Hamalainen <ccr@tnsp.org>
parents:
764
diff
changeset
|
19 find debian/universalindentgui/usr/share/universalindentgui -type f -name '*.rb' | xargs chmod a+x |