[Pkg-erlang-commits] r1169 - erlang/trunk/debian
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Wed Jan 13 19:37:45 UTC 2010
Author: sgolovan
Date: 2010-01-13 19:37:40 +0000 (Wed, 13 Jan 2010)
New Revision: 1169
Modified:
erlang/trunk/debian/rules
Log:
* Code cleanup.
Modified: erlang/trunk/debian/rules
===================================================================
--- erlang/trunk/debian/rules 2010-01-13 12:11:40 UTC (rev 1168)
+++ erlang/trunk/debian/rules 2010-01-13 19:37:40 UTC (rev 1169)
@@ -258,37 +258,34 @@
>$(INSTALL_DIR)/usr/lib/erlang/releases/RELEASES
# Get rid of windows cruft
- -find $(INSTALL_DIR) -name *.bat -exec rm {} \;
+ find $(INSTALL_DIR) -name *.bat -exec rm -v {} \;
# Fix permissions
- -cp $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl.src \
- $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl
- -chmod 755 $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl
- -chmod 755 $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/*.src
- -chmod 644 $(INSTALL_DIR)/usr/lib/erlang/bin/start.script
- -chmod 644 $(INSTALL_DIR)/usr/lib/erlang/lib/wx-*/examples/*/*.beam
- -chmod 644 $(INSTALL_DIR)/usr/lib/erlang/lib/wx-*/examples/*/*.xpm
+ cp $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl.src \
+ $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl
+ chmod 755 $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/start_erl
+ chmod 755 $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/bin/*.src
+ chmod 644 $(INSTALL_DIR)/usr/lib/erlang/bin/start.script
+ chmod 644 $(INSTALL_DIR)/usr/lib/erlang/lib/wx-*/examples/*/*.beam
+ chmod 644 $(INSTALL_DIR)/usr/lib/erlang/lib/wx-*/examples/*/*.xpm
# Remove useless ssl and crypto object files
- -rm -rf $(INSTALL_DIR)/usr/lib/erlang/lib/crypto-*/priv/obj
- -rm -rf $(INSTALL_DIR)/usr/lib/erlang/lib/ssl-*/priv/obj
+ rm -rv $(INSTALL_DIR)/usr/lib/erlang/lib/crypto-*/priv/obj
+ rm -rv $(INSTALL_DIR)/usr/lib/erlang/lib/ssl-*/priv/obj
# Remove some files which should be rather in erlang-doc-html package
- -find $(INSTALL_DIR)/usr/lib/erlang/lib -name info -exec rm {} \;
- -rm -rf $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/doc
+ find $(INSTALL_DIR)/usr/lib/erlang/lib -name info -exec rm -v {} \;
+ rm -rv $(INSTALL_DIR)/usr/lib/erlang/erts-$(VSN)/doc
# Remove useless Install and manpage formatting scripts
- -rm -f $(INSTALL_DIR)/usr/lib/erlang/Install
- -rm -rf $(INSTALL_DIR)/usr/lib/erlang/misc
+ rm -v $(INSTALL_DIR)/usr/lib/erlang/Install
+ rm -rv $(INSTALL_DIR)/usr/lib/erlang/misc
- # Remove dialyzer_init_plt from sources directory
- -rm -f $(INSTALL_DIR)/usr/lib/erlang/lib/dialyzer-*/src/dialyzer_init_plt
-
# Fix run_test script in common_test application
(cd $(INSTALL_DIR)/usr/lib/erlang/lib/common_test-* && \
./install.sh $(INSTALL_DIR)/usr/lib/erlang/lib && \
sed -i -e 's:$(INSTALL_DIR)::g' priv/bin/run_test && \
- rm install.sh priv/run_test.in)
+ rm -v install.sh priv/run_test.in)
endef
# CC_R_FLAG and LD_R_FLAG are empty because Debian doesn't recommend
More information about the Pkg-erlang-commits
mailing list