- # Add here commands to install the package into debian/tmp.
- $(MAKE) prefix=`pwd`/debian/tmp/usr install
+
+install: build
+ $(checkdir)
+ $(checkroot)
+ -rm -rf $(TMP)
+ $(INSTALL_DIR) $(TMP)
+ cd $(TMP) && $(INSTALL_DIR) usr/share/doc/$(PACKAGE)/examples \
+ usr/share/doc/$(PACKAGE)/contrib
+ $(MAKE) prefix=$(TMP)/usr install INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
+ $(INSTALL_FILE) ChangeLog $(TMP)/usr/share/doc/$(PACKAGE)/changelog
+ $(INSTALL_FILE) ANNOUNCE AUTHORS BUGS FAQ README THANKS TODO \
+ $(TMP)/usr/share/doc/$(PACKAGE)
+ $(INSTALL_FILE) sample.abookrc contrib/mail2abook.py \
+ contrib/vcard2abook.pl $(TMP)/usr/share/doc/$(PACKAGE)/examples
+ $(INSTALL_FILE) contrib/abook+vim/README contrib/abook+vim/mail.vim \
+ $(TMP)/usr/share/doc/$(PACKAGE)/contrib
+ cd $(TMP)/usr/share && gzip -9 man/man1/abook.1 man/man5/abookrc.5 \
+ doc/$(PACKAGE)/examples/mail2abook.py doc/$(PACKAGE)/changelog \
+ doc/$(PACKAGE)/contrib/mail.vim