[Pkg-ocaml-maint-commits] [frama-c] 07/09: Add a few comments in d/rules

Mehdi Dogguy mehdi at moszumanska.debian.org
Mon Aug 31 20:29:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

mehdi pushed a commit to branch master
in repository frama-c.

commit 841b99fda90c9588fbd1b8b4900cd46eb2921efe
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Sat Aug 1 12:25:05 2015 +0200

    Add a few comments in d/rules
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 5da5f59..1cfcb97 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,13 +28,16 @@ override_dh_auto_install:
 	$(MAKE) prefix=$(FRAMA_DIR)/usr FRAMAC_DATADIR=$(FRAMA_DIR)/usr/share/frama-c install
 	# Fix permission of .c and .h files (they don't have to be executable)
 	find debian/ -name "*.c" -or -name "*.h" -exec chmod a-x '{}' \;
+	# Install icons and desktop menu entry
 	cp debian/icons/frama-c.svg $(CURDIR)/debian/frama-c/usr/share/icons/hicolor/scalable/apps/
 	cp debian/icons/frama-c.xpm $(CURDIR)/debian/frama-c/usr/share/pixmaps/
 	cp debian/frama-c.desktop $(CURDIR)/debian/frama-c/usr/share/applications/
+	# Remove useless binaries
 	$(RM) -f $(CURDIR)/debian/frama-c/usr/bin/frama-c-gui.byte
 	$(RM) -f $(CURDIR)/debian/frama-c/usr/bin/ptests.byte
 	# Same file as frama-c.1. We use a symlink instead of copying the file twice
 	$(RM) -f $(FRAMA_DIR)/usr/share/man/man1/frama-c-gui.1
+	# On Bytecode architectures, bin/frama-c.byte is sam as bin/frama-c
 ifeq ($(OCAML_OPT_ARCH),)
 	$(RM) -f $(CURDIR)/debian/frama-c/usr/bin/frama-c.byte
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/frama-c.git



More information about the Pkg-ocaml-maint-commits mailing list