1 | --- Makefile~ 2005-08-13 22:26:11.000000000 -0700 |
---|
2 | +++ Makefile 2005-08-13 22:29:12.000000000 -0700 |
---|
3 | @@ -68,14 +68,12 @@ |
---|
4 | ###################################################################### |
---|
5 | # Installation |
---|
6 | |
---|
7 | -INSTALLDIR = $(HOME)/bin/ |
---|
8 | +INSTALLDIR = $(DESTDIR)$(PREFIX)/bin/ |
---|
9 | |
---|
10 | # This has two names because on OSX the file INSTALL shadows the target 'install'! |
---|
11 | install: doinstall |
---|
12 | |
---|
13 | doinstall: $(NAME)$(EXEC_EXT) |
---|
14 | - -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$) |
---|
15 | - cp $(NAME)$(EXEC_EXT) $(INSTALLDIR) |
---|
16 | cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(MAJORVERSION)$(EXEC_EXT) |
---|
17 | |
---|
18 | |
---|