redmine

Changes:

* "make dpkg" added
* "dpkg-buildpackage -rfakeroot" fixed
* removed some "debian/" from git watching
... ... @@ -22,4 +22,7 @@ log*
from/*
to/*
.clsync-list.*
debian/clsync/DEBIAN
debian/clsync.debhelper.log
debian/clsync.substvars
... ...
DESTDIR ?=
PREFIX ?= /usr
ifneq ($(DESTDIR),)
PREFIX = $(DESTDIR)/$(PREFIX)
endif
CFLAGS += -pipe -Wall -O2 -ggdb3 -fstack-protector-all
DEBUGCFLAGS = -pipe -Wall -Werror -ggdb3 -Wno-error=unused-variable -fstack-protector-all
... ... @@ -13,6 +11,8 @@ OLDSYSTEMCFLAGS = -std=gnu99 -DOLDSYSTEM
LDFLAGS += $(shell pkg-config --libs glib-2.0) -lpthread
INC += $(shell pkg-config --cflags glib-2.0)
INSTDIR = $(DESTDIR)$(PREFIX)
objs=\
main.o\
output.o\
... ... @@ -45,12 +45,17 @@ clean:
rm -rf example/testdir example/rules
install:
install -m 755 -o root -s clsync "$(PREFIX)"/bin/
install -m 755 -o root man/man1/clsync.1 "$(PREFIX)"/share/man/man1/
rm -f "$(PREFIX)"/share/man/man1/clsync.1.gz
gzip "$(PREFIX)"/share/man/man1/clsync.1
mkdir -p "$(INSTDIR)/bin" "$(INSTDIR)/share/man/man1"
install -m 755 -o root -s clsync "$(INSTDIR)"/bin/
install -m 755 -o root man/man1/clsync.1 "$(INSTDIR)"/share/man/man1/
rm -f "$(INSTDIR)"/share/man/man1/clsync.1.gz
gzip "$(INSTDIR)"/share/man/man1/clsync.1
deinstall:
rm -f "$(PREFIX)"/bin/clsync "$(PREFIX)"/share/man/man1/clsync.1.gz
rm -f "$(INSTDIR)"/bin/clsync "$(INSTDIR)"/share/man/man1/clsync.1.gz
dpkg: clean
tar --exclude "debian" --exclude-vcs -C .. -cJvf ../clsync_0.0.orig.tar.xz clsync
dpkg-buildpackage -rfakeroot
... ...
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
dh_auto_install
dh_installdocs
dh_installchangelogs
dh_pysupport
dh_perl
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh_builddeb
Package: clsync
Version: 0.0-1
Architecture: amd64
Maintainer: Dmitry Yu Okunev <xai@mephi.ru> 0x8E30679C
Installed-Size: 30
Recommends: rsync
Section: admin
Priority: optional
Homepage: http://ut.mephi.ru/oss
Description: live sync tool based on inotify, written on GNU C
Clsync recursively watches for source directory and executes external
program to sync the changes. Clsync is adapted to used together with rsync.
This utility is much more lightweight than competitors and supports such
features as separate queue for big files, regex file filter and
multi-threading.
c9791e62947d4e3907c090242849c293 usr/share/doc/clsync/README.gz
caa59db0af9d5e0832916d8c5911e274 usr/share/doc/clsync/changelog.Debian.gz
4eb68e73a0762a501bb589219bcdce39 usr/share/doc/clsync/copyright
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
... ... @@ -11,3 +11,4 @@
%:
dh $@
... ...