diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-02-05 19:06:21 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-02-05 19:06:21 +0000 |
commit | 4aa11b915e718d739d7bbfc737b77164d79af116 (patch) | |
tree | 4cd88e5cca9df66f069a2eb1b639ec0ad938948c /Makefile.in | |
parent | c93ad1a4ef2625ffb849b8868fe32f930594ac70 (diff) | |
parent | f3410da7f0bd208a5f2d792131b215454e782e93 (diff) | |
download | wavemon-4aa11b915e718d739d7bbfc737b77164d79af116.tar.gz |
Resolve 0.7.3 import conflict
Diffstat (limited to '')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 3bbc253..7a0ed30 100644 --- a/Makefile.in +++ b/Makefile.in @@ -5,6 +5,8 @@ bindir = @bindir@ datarootdir = $(prefix)/share mandir = @mandir@ datadir = $(datarootdir)/@PACKAGE_NAME@ +exec_perms = 0755 +install-suid-root: exec_perms = 4755 CC = @CC@ CFLAGS = @CFLAGS@ @@ -39,9 +41,13 @@ tags: $(wildcard *[ch]) .PHONY: install uninstall clean distclean -install: wavemon wavemon.1 wavemonrc.5 $(DOCS) +install: install-binaries install-docs + +install-suid-root install-binaries: all $(INSTALL) -m 0755 -d $(DESTDIR)$(bindir) - $(INSTALL) -m 0755 wavemon $(DESTDIR)$(bindir) + $(INSTALL) -m $(exec_perms) @PACKAGE_NAME@ $(DESTDIR)$(bindir) + +install-docs: @PACKAGE_NAME@.1 @PACKAGE_NAME@rc.5 $(DOCS) $(INSTALL) -m 0755 -d $(DESTDIR)$(mandir)/man1 $(INSTALL) -m 0644 wavemon.1 $(DESTDIR)$(mandir)/man1 $(INSTALL) -m 0755 -d $(DESTDIR)$(mandir)/man5 |