pkgsrc/net/unison-devel/patches/patch-aa
2005-09-27 14:44:18 +00:00

42 lines
1.3 KiB
Text

$NetBSD: patch-aa,v 1.4 2005/09/27 14:44:18 tonio Exp $
--- Makefile.orig 2005-08-12 02:26:59.000000000 +0200
+++ Makefile
@@ -39,7 +39,7 @@ all:: INSTALL
INSTALL: $(NAME)$(EXEC_EXT)
# file isn't made for OS X, so check that it's there first
- (if [ -f $(NAME) ]; then ./$(NAME) -doc install > INSTALLATION; fi)
+## (if [ -f $(NAME) ]; then ./$(NAME) -doc install > INSTALLATION; fi)
########################################################################
## Miscellaneous developer-only switches
@@ -68,7 +68,7 @@ include Makefile.OCaml
######################################################################
# Installation
-INSTALLDIR = $(HOME)/bin/
+INSTALLDIR = $(PREFIX)/bin/
# This has two names because on OSX the file INSTALL shadows the target 'install'!
install: doinstall
@@ -77,10 +77,7 @@ installtext:
make -C .. installtext
doinstall: $(NAME)$(EXEC_EXT)
- -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
- cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(MAJORVERSION)$(EXEC_EXT)
-
######################################################################
# Demo
@@ -358,7 +355,7 @@ testmerge:
tags:
-$(ETAGS) *.mli */*.mli *.ml */*.ml *.m */*.m *.c */*.c *.txt
-all:: TAGS
+#all:: TAGS
TAGS:
$(MAKE) tags