Debian package; trivial fixes
Subsystems (2)
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,
Signature · 1 line
Loïc Minier <[email protected]>
.gitignore +1 -1
@@ -11,9 +11,9 @@ pre-process.h test-lexing test-parsing obfuscate -check compile graph +sparse test-dissect test-linearize example
Makefile +2 -8
@@ -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)
Quoted 2 lines · Loïc Minier
I've prepared and uploaded a Debian package for sparse 0.1:
<http://people.dooz.org/~lool/debian/sparse/0.1-1/sid-pbuilder/>
Thanks!
Quoted 5 lines
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.
Thanks for these two fixes.
Sparse follows the same Signed-off-by convention as Linux, so coud you
please supply a Signed-off-by for your patches? See <http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;hb=HEAD;f=Documentation/SubmittingPatches>
for details on the Signed-off-by process and the Developer's Certificate of
Origin.
You might find git convenient for submitting patches. If you have changes to Sparse in a git repository, you can create patch mails with "git format-patch". git also makes Signed-off-by as simple as adding -s to the "git commit" or "cg commit" command line.
Thanks,
Josh Triplett
Quoted 2 lines · Loïc Minier
It would also be more convenient to create BINDIR automatically on make install.
[...]
Makefile LIBS=$(LIB_FILE) · line 49
Quoted 8 lines
Makefile +0
-7-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
The .PHONY line for bin-dir should go away too.
- Josh Triplett