From fc3eccc659518306f05140eb24e525992f9d9993 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 25 Aug 2021 18:59:18 -0400 Subject: Make all calls to install POSIX --- pw/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'pw') diff --git a/pw/Makefile b/pw/Makefile index dc57d1d..c282e62 100644 --- a/pw/Makefile +++ b/pw/Makefile @@ -3,7 +3,6 @@ STRIP ?= aarch64-apple-darwin-strip LDID ?= ldid CFLAGS ?= -arch arm64 -isysroot /home/cameron/Documents/SDK/iPhoneOS14.3.sdk -miphoneos-version-min=13.0 LDFLAGS ?= -GINSTALL ?= install PREFIX ?= /usr DESTDIR ?= @@ -46,10 +45,13 @@ pw: $(SRC:%.c=%.o) $(LIBCSRC:%.c=%.o) $(LIBUTILSRC:%.c=%.o) ../ent.xml $(CC) $(CFLAGS) -c -o $@ $< -I. -I../libutil -I../libc/gen install-pw: pw pw.8 pw.conf.5 - $(GINSTALL) -Dm755 pw $(DESTDIR)/$(PREFIX)/sbin/pw - $(GINSTALL) -Dm644 pw.8 $(DESTDIR)/$(PREFIX)/share/man/man8/pw.8 - $(GINSTALL) -Dm644 pw.conf.5 $(DESTDIR)/$(PREFIX)/share/man/man5/pw.conf.5 - mkdir -p $(DESTDIR)/$(PREFIX)/share/skel + install -d $(DESTDIR)/$(PREFIX)/share/skel \ + $(DESTDIR)/$(PREFIX)/sbin \ + $(DESTDIR)/$(PREFIX)/share/man/man5 \ + $(DESTDIR)/$(PREFIX)/share/man/man8 + install -m755 pw $(DESTDIR)/$(PREFIX)/sbin/pw + install -m644 pw.8 $(DESTDIR)/$(PREFIX)/share/man/man8/pw.8 + install -m644 pw.conf.5 $(DESTDIR)/$(PREFIX)/share/man/man5/pw.conf.5 clean: rm -f pw $(SRC:%.c=%.o) $(LIBCSRC:%.c=%.o) $(LIBUTILSRC:%.c=%.o) -- cgit v1.2.3-56-ge451