diff options
Diffstat (limited to 'graphics/nathive/files/patch-makefile')
-rw-r--r-- | graphics/nathive/files/patch-makefile | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/graphics/nathive/files/patch-makefile b/graphics/nathive/files/patch-makefile deleted file mode 100644 index 8fea221bdfcc..000000000000 --- a/graphics/nathive/files/patch-makefile +++ /dev/null @@ -1,65 +0,0 @@ ---- makefile.orig 2010-10-12 19:16:42 UTC -+++ makefile -@@ -84,41 +84,36 @@ docs: - @rm -rf doc/build/html/_sources - - root: --ifneq ($(shell whoami), root) -- @echo "\n**** ERROR: You must be root\n" -- @exit 1 --endif -+ true - - - dirs: -- mkdir -p $(BASE)$(APP) -- mkdir -p $(BASE)$(BIN) -- mkdir -p $(BASE)$(DOC) -- mkdir -p $(BASE)$(LAUNCH) -+ mkdir -p $(DESTDIR)$(BASE)$(APP) -+ mkdir -p $(DESTDIR)$(BASE)$(BIN) -+ mkdir -p $(DESTDIR)$(BASE)$(LAUNCH) -+ mkdir -p $(DESTDIR)$(BASE)$(DOC) - - - install: root dirs unpyc - # Shared files. -- cp nathive.py $(BASE)$(APP) -- cp AUTHORS $(BASE)$(APP) -- cp COPYING $(BASE)$(APP) -- cp COPYING-BRIEF $(BASE)$(APP) -- cp META $(BASE)$(APP) -- cp -r cfg/ $(BASE)$(APP) -- cp -r img/ $(BASE)$(APP) -- cp -r nathive/ $(BASE)$(APP) -- cp -r palettes/ $(BASE)$(APP) -- cp -r po/ $(BASE)$(APP) -- chmod -R 755 $(BASE)$(APP) -- # Exclude source files. -- find $(BASE)$(APP) -name "*.c" -delete -+ cp nathive.py $(DESTDIR)$(BASE)$(APP) -+ cp AUTHORS $(DESTDIR)$(BASE)$(APP) -+ cp COPYING $(DESTDIR)$(BASE)$(APP) -+ cp COPYING-BRIEF $(DESTDIR)$(BASE)$(APP) -+ cp META $(DESTDIR)$(BASE)$(APP) -+ cp -R cfg $(DESTDIR)$(BASE)$(APP) -+ cp -R img $(DESTDIR)$(BASE)$(APP) -+ cp -R nathive $(DESTDIR)$(BASE)$(APP) -+ cp -R palettes $(DESTDIR)$(BASE)$(APP) -+ cp -R po $(DESTDIR)$(BASE)$(APP) -+ chmod -R 755 $(DESTDIR)$(BASE)$(APP) - # Binary and launcher. -- install -m 755 -T nathive.sh $(BASE)$(BIN)/nathive -- install -m 644 nathive.desktop $(BASE)$(LAUNCH) -+ install -m 755 nathive.sh $(DESTDIR)$(BASE)$(BIN)/nathive -+ install -m 644 nathive.desktop $(DESTDIR)$(BASE)$(LAUNCH) - # Documentation. -- install -m 644 AUTHORS $(BASE)$(DOC) -- install -m 644 COPYING $(BASE)$(DOC) -- install -m 644 README $(BASE)$(DOC) -+ install -m 644 AUTHORS $(DESTDIR)$(BASE)$(DOC) -+ install -m 644 COPYING $(DESTDIR)$(BASE)$(DOC) -+ install -m 644 README $(DESTDIR)$(BASE)$(DOC) - - - uninstall: root |