Debian package; trivial fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



        Hi,

 I've prepared and uploaded a Debian package for sparse 0.1:
    <http://people.dooz.org/~lool/debian/sparse/0.1-1/sid-pbuilder/>

 FYI, It is currently targetted at Debian "non-free" due to the choice
 of venue clause in the license.  I think the patent clause is slightly
 problematic but might be acceptable for Debian "main".


 Please find attached a trivial fix for .gitignore where "check" wasn't
 renamed to "sparse".

 It would also be more convenient to create BINDIR automatically on make
 install.

   Bye,
-- 
Loïc Minier <lool@xxxxxxxx>
diff --git a/.gitignore b/.gitignore
index 3e12ce7..665ad03 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,9 +11,9 @@ pre-process.h
 test-lexing
 test-parsing
 obfuscate
-check
 compile
 graph
+sparse
 test-dissect
 test-linearize
 example
diff --git a/Makefile b/Makefile
index 2dcd514..920fe67 100644
--- a/Makefile
+++ b/Makefile
@@ -40,18 +40,12 @@ LIBS=$(LIB_FILE)
 
 all: $(PROGRAMS)
 
-install: $(INST_PROGRAMS) bin-dir
+install: $(INST_PROGRAMS)
+	install -d $(BINDIR)
 	for f in $(INST_PROGRAMS); do \
 		install -v $$f $(BINDIR)/$$f || exit 1; \
 	done
 
-bin-dir:
-	@if ! test -d $(BINDIR); then \
-		echo "No '$(BINDIR)' directory to install in"; \
-		echo "Please create it and add it to your PATH"; \
-		exit 1; \
-	fi
-
 .PHONY: bin-dir
 
 test-lexing: test-lexing.o $(LIBS)

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux