Bug fix; the "month of the key" is 6 characters from index 0
[rrq/buckap.git] / Makefile
1 BINDIR = $(DESTDIR)/usr/bin
2 ETCDIR = $(DESTDIR)/etc
3 CRONDAILY = $(DESTDIR)/etc/cron.daily
4
5 compile:
6         : # do nothing
7
8 $(BINDIR)/% $(ETCDIR)/% $(CRONDAILY)/%: %
9         mkdir -p $$(dirname $@)
10         cp $< $@
11
12 INSTALLTARGETS = $(BINDIR)/dupltool $(BINDIR)/restore.sh
13 INSTALLTARGETS += $(ETCDIR)/duplicity-daily.conf
14 INSTALLTARGETS += $(CRONDAILY)/duplicity-daily
15
16 install: $(INSTALLTARGETS)
17
18 deb:
19         PREFIX= INCLUDE_PREFIX=/usr dpkg-buildpackage -us -uc --build=full