Created
April 11, 2015 19:11
-
-
Save dunn/ddd1aa338376caa1ff34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e5527a92a421bca098d8052d65bbf3a3d302293d Mon Sep 17 00:00:00 2001 | |
From: Alex Dunn <[email protected]> | |
Date: Sat, 11 Apr 2015 12:02:18 -0700 | |
Subject: [PATCH] makefile | |
diff --git a/Makefile b/Makefile | |
index 6984408..bb6780b 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -8,14 +8,16 @@ DESTDIR=/usr/local | |
all: rmtrash | |
install: | |
- install -s -o root -g wheel -m 755 rmtrash ${DESTDIR}/bin | |
- install -o root -g wheel -m 644 rmtrash.1 ${DESTDIR}/man/man1 | |
+ mkdir -p ${DESTDIR}/bin | |
+ mkdir -p ${DESTDIR}/share/man/man1 | |
+ install -m 755 rmtrash ${DESTDIR}/bin | |
+ install -m 644 rmtrash.1 ${DESTDIR}/share/man/man1 | |
uninstall: | |
/bin/rm ${DESTDIR}/bin/rmtrash | |
/bin/rm ${DESTDIR}/share/man/man1/rmtrash.1 | |
clean: | |
- /bin/rm rmtrash | |
+ /bin/rm rmtrash | |
rmtrash: | |
${CC} ${CFLAGS} ${LDFLAGS} rmtrash.m -o rmtrash | |
-- | |
2.3.5 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment