Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add a convenience goal 'checkinstall'
Browse files Browse the repository at this point in the history
The checkinstall(8) tool is a very convenient tool to install packages
from source, integrating into the current system's default package
manager.

However, it does a slightly lousy job at determining package name
and version from the directory name 'git-cheetah': it tries to use
'git' as package name and 'cheetah' as version number (which fails
on Debian, because Debian requires version numbers to start with
a digit). So help it a little by adding a goal that automatically
determines correct default values.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Feb 26, 2013
1 parent 16f41ce commit 703df3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nautilus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ install: all
mkdir -p $(LIBDIR)/nautilus/extensions-3.0
cp $(TARGET).so $(LIBDIR)/nautilus/extensions-3.0/

checkinstall: all
sudo checkinstall --nodoc \
--pkgname=git_cheetah --pkgversion=`git describe | sed 's/^v//'`

clean:
rm -f $(OBJECTS) $(COMPAT_OBJ) $(TARGET).so deps
$(MAKE) -C ../common clean

0 comments on commit 703df3f

Please sign in to comment.