Skip to content

Commit

Permalink
fix makefile for archlinux
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Tsai committed Dec 2, 2013
1 parent 57322e5 commit cc5b654
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions fail-mbr/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
PREFIX= $(prefix)
INSTPREFIX= $(DESTDIR)$(PREFIX)
INSTLIBDIR= $(INSTPREFIX)/share/partclone
PREFIX= ${prefix}
INSTPREFIX= ${DESTDIR}${PREFIX}
ifeq ($(INSTPREFIX),)
INSTPREFIX=/usr/local
endif
INSTLIBDIR= ${INSTPREFIX}/share/partclone
INSTALL= install


Expand Down Expand Up @@ -29,6 +32,10 @@ install: fail-mbr.bin
-mkdir -p $(INSTLIBDIR)
$(INSTALL) fail-mbr.bin $(INSTLIBDIR)

uninstall:
rm -f $(INSTLIBDIR)/fail-mbr.bin
rm -d $(INSTLIBDIR)

check:
#check: compare

Expand Down

0 comments on commit cc5b654

Please sign in to comment.