Commit 10ecd6b1 authored by Sophie Brun's avatar Sophie Brun

d/rules: remove the extension .sh for files in /usr/bin

parent cf422956
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_install:
dh_auto_install
install d2j-apk-sign.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-apk-sign
install d2j-asm-verify.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-asm-verify
install d2j-dex2jar.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-dex2jar
install d2j-dex-asmifier.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-dex-asmifier
install d2j-dex-dump.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-dex-dump
install d2j-init-deobf.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-init-deobf
install d2j-jar2dex.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-jar2dex
install d2j-jar2jasmin.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-jar2jasmin
install d2j-jar-access.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-jar-access
install d2j-jar-remap.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-jar-remap
install d2j-jasmin2jar.sh $(CURDIR)/debian/dex2jar/usr/bin/d2j-jasmin2jar
install dex2jar.sh $(CURDIR)/debian/dex2jar/usr/bin/dex2jar
install dex-dump.sh $(CURDIR)/debian/dex2jar/usr/bin/dex-dump
# remove extension of all scripts *.sh installed in /usr/bin
for f in *.sh; do \
newf=$$(echo $$f | sed 's/\.sh//'); \
mv $$f debian/dex2jar/usr/bin/$$newf; \
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment