X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=sync-accounts%2FMakefile;h=f9279e295ace20dd4ef612524017b0faea47ed6b;hp=461d44d6c034db35865e212ec5b71053a95610f6;hb=78c7e0c44c2686cf1b9f043297bdd51ce28d0192;hpb=35eebe42ba3cd77674422cebf674e316d5a258b1 diff --git a/sync-accounts/Makefile b/sync-accounts/Makefile index 461d44d..f9279e2 100644 --- a/sync-accounts/Makefile +++ b/sync-accounts/Makefile @@ -8,7 +8,7 @@ # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2, or (at your option) any later version. +# Foundation; either version 3, or (at your option) any later version. # # This is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -16,13 +16,15 @@ # details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# with this program; if not, consult the Free Software Foundation's +# website at www.fsf.org, or the GNU Project website at www.gnu.org. + +SYSTEM_GROUP= root INSTALL= install -c -INSTALL_SHARE= $(INSTALL) -m 644 -o root -g root -INSTALL_SCRIPT= $(INSTALL) -m 755 -o root -g root -INSTALL_DIRECTORY= $(INSTALL) -m 2755 -o root -g root -d +INSTALL_SHARE= $(INSTALL) -m 644 -o root -g $(SYSTEM_GROUP) +INSTALL_SCRIPT= $(INSTALL) -m 755 -o root -g $(SYSTEM_GROUP) +INSTALL_DIRECTORY= $(INSTALL) -m 2755 -o root -g $(SYSTEM_GROUP) -d prefix=/usr/local bindir=$(prefix)/bin @@ -47,9 +49,9 @@ install: install-docs: $(INSTALL_DIRECTORY) $(man5dir) $(man8dir) set -e; for f in $(MANPAGES5); do \ - $(INSTALL_SCRIPT) $$f.5 $(man5dir)/$$f.5; done + $(INSTALL_SHARE) $$f.5 $(man5dir)/$$f.5; done set -e; for f in $(MANPAGES8); do \ - $(INSTALL_SCRIPT) $$f.8 $(man8dir)/$$f.8; done + $(INSTALL_SHARE) $$f.8 $(man8dir)/$$f.8; done install-examples: $(INSTALL_DIRECTORY) $(exampledir)