Permalink
Browse files

Fix install and uninstall rules.

  • Loading branch information...
matlo committed Oct 15, 2016
1 parent 95611b0 commit 88621f1d9fdd4426208b3c2cf0aa59654ca41440
Showing with 25 additions and 18 deletions.
  1. +6 −4 config/Makefile
  2. +2 −2 core/Makefile
  3. +6 −4 fpsconfig/Makefile
  4. +6 −4 launcher/Makefile
  5. +3 −2 shared/Makedefs
  6. +2 −2 utils/Makefile
View
@@ -51,11 +51,13 @@ install: all
cp gimx-$(NAME).png $(prefix)/share/pixmaps
uninstall:
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-$(RM) $(bindir)
-$(RM) $(prefix)
-$(RM) $(prefix)/share/applications/gimx-$(NAME).desktop
-$(RM) $(prefix)/share/pixmaps/gimx-$(NAME).png
-$(RM) $(prefix)/share/applications/gimx-$(NAME).desktop
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-rmdir $(prefix)/share/pixmaps
-rmdir $(prefix)/share/applications
-rmdir $(bindir)
-rmdir $(prefix)
really-clean: clean uninstall
endif
View
@@ -87,8 +87,8 @@ install: all
uninstall:
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-$(RM) $(bindir)
-$(RM) $(prefix)
-rmdir $(bindir)
-rmdir $(prefix)
really-clean: clean uninstall
endif
View
@@ -51,11 +51,13 @@ install: all
cp gimx-$(NAME).png $(prefix)/share/pixmaps
uninstall:
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-$(RM) $(bindir)
-$(RM) $(prefix)
-$(RM) $(prefix)/share/applications/gimx-$(NAME).desktop
-$(RM) $(prefix)/share/pixmaps/gimx-$(NAME).png
-$(RM) $(prefix)/share/applications/gimx-$(NAME).desktop
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-rmdir $(prefix)/share/pixmaps
-rmdir $(prefix)/share/applications
-rmdir $(bindir)
-rmdir $(prefix)
really-clean: clean uninstall
endif
View
@@ -55,11 +55,13 @@ install: all
cp gimx-$(NAME).png $(prefix)/share/pixmaps
uninstall:
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-$(RM) $(bindir)
-$(RM) $(prefix)
-$(RM) $(prefix)/share/applications/gimx-$(NAME).desktop
-$(RM) $(prefix)/share/pixmaps/gimx-$(NAME).png
-$(RM) $(prefix)/share/applications/gimx-$(NAME).desktop
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-rmdir $(prefix)/share/pixmaps
-rmdir $(prefix)/share/applications
-rmdir $(bindir)
-rmdir $(prefix)
really-clean: clean uninstall
endif
View
@@ -28,13 +28,14 @@ clean:
ifneq ($(OS),Windows_NT)
install: all
mkdir -p $(prefix)
mkdir -p $(libdir)
cp $(LIBNAME)$(SHLIB_SUFFIX) $(libdir)
uninstall:
-$(RM) $(libdir)/$(LIBNAME)$(SHLIB_SUFFIX)
-$(RM) $(libdir)
-$(RM) $(prefix)
-rmdir $(libdir)
-rmdir $(prefix)
really-clean: clean uninstall
endif
View
@@ -45,8 +45,8 @@ install: all
uninstall:
-for i in $(BINS); do $(RM) $(bindir)/$$i; done
-$(RM) $(bindir)
-$(RM) $(prefix)
-rmdir $(bindir)
-rmdir $(prefix)
really-clean: clean uninstall
endif

0 comments on commit 88621f1

Please sign in to comment.