[Oinkmaster-users] Makefile for installing
Brought to you by:
andreas_o
|
From: Alexander G. <ale...@gm...> - 2013-12-02 09:49:49
|
Hi all!
Is it possible add to package simple Makefile just for installing. It be useful for automatization. Like this:
.PHONY: install
INSTALL_DIR = /usr/bin/install -d -m 755
INSTALL_PROGRAM = /usr/bin/install -m 555
INSTALL_DATA = /usr/bin/install -m 644
install:
$(INSTALL_DIR) "$(DESTDIR)/etc"
$(INSTALL_DATA) oinkmaster.conf "$(DESTDIR)/etc"
$(INSTALL_DIR) "$(DESTDIR)/man1"
$(INSTALL_DATA) oinkmaster.1 "$(DESTDIR)/man1"
$(INSTALL_DIR) "$(DESTDIR)/bin"
$(INSTALL_PROGRAM) oinkmaster.pl "$(DESTDIR)/bin"
Best regards,
Alexander Galato
|