[libdispatch-changes] [166] trunk/man/Makefile.am

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 16 18:05:30 PST 2009


Revision: 166
          http://trac.macosforge.org/projects/libdispatch/changeset/166
Author:   robert at fledge.watson.org
Date:     2009-11-16 18:05:27 -0800 (Mon, 16 Nov 2009)
Log Message:
-----------
Use $(LN_S) -f so as to force overwrite of existing symlinks on a
reinstall.  It's unclear how portable this is, but it's definitely
useful.

Suggested by:	Mario Schwalbe <schwalbe at inf.tu-dresden.de>

Modified Paths:
--------------
    trunk/man/Makefile.am

Modified: trunk/man/Makefile.am
===================================================================
--- trunk/man/Makefile.am	2009-11-16 12:26:17 UTC (rev 165)
+++ trunk/man/Makefile.am	2009-11-17 02:05:27 UTC (rev 166)
@@ -21,86 +21,98 @@
 # Install man page symlinks.  Is there a better way to do this in automake?
 #
 install-data-hook:
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_after.3 dispatch_after_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_apply.3 dispatch_apply_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_async.3 dispatch_sync.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_async.3 dispatch_async_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_async.3 dispatch_sync_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_benchmark.3 dispatch_benchmark_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_group_create.3 dispatch_group_enter.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_group_create.3 dispatch_group_leave.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_group_create.3 dispatch_group_wait.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_group_create.3 dispatch_group_notify.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_group_create.3 dispatch_group_notify_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_group_create.3 dispatch_group_async.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_group_create.3 dispatch_group_async_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_object.3 dispatch_retain.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_object.3 dispatch_release.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_object.3 dispatch_suspend.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_object.3 dispatch_resume.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_object.3 dispatch_get_context.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_object.3 dispatch_set_context.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_object.3 dispatch_set_finalizer_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_once.3 dispatch_once_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_queue_create.3 dispatch_queue_get_label.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_queue_create.3 dispatch_get_current_queue.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_queue_create.3 dispatch_get_global_queue.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_queue_create.3 dispatch_get_main_queue.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_queue_create.3 dispatch_main.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_queue_create.3 dispatch_set_target_queue.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_semaphore_create.3 dispatch_semaphore_signal.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_semaphore_create.3 dispatch_semaphore_wait.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_set_event_handler.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_set_event_handler_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_set_cancel_handler.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_set_cancel_handler_f.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_cancel.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_testcancel.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_get_handle.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_get_mask.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_get_data.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_merge_data.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_source_create.3 dispatch_source_set_timer.3
-	cd $(DESTDIR)$(mandir)/man3 && $(LN_S)				\
-		dispatch_time.3 dispatch_walltime.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_after.3 dispatch_after_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_apply.3 dispatch_apply_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_async.3 dispatch_sync.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_async.3 dispatch_async_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_async.3 dispatch_sync_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_benchmark.3 dispatch_benchmark_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_group_create.3 dispatch_group_enter.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_group_create.3 dispatch_group_leave.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_group_create.3 dispatch_group_wait.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_group_create.3 dispatch_group_notify.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_group_create.3 dispatch_group_notify_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_group_create.3 dispatch_group_async.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_group_create.3 dispatch_group_async_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_object.3 dispatch_retain.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_object.3 dispatch_release.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_object.3 dispatch_suspend.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_object.3 dispatch_resume.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_object.3 dispatch_get_context.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_object.3 dispatch_set_context.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_object.3 dispatch_set_finalizer_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_once.3 dispatch_once_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_queue_create.3 dispatch_queue_get_label.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_queue_create.3 dispatch_get_current_queue.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_queue_create.3 dispatch_get_global_queue.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_queue_create.3 dispatch_get_main_queue.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_queue_create.3 dispatch_main.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_queue_create.3 dispatch_set_target_queue.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_semaphore_create.3			\
+		dispatch_semaphore_signal.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_semaphore_create.3			\
+		dispatch_semaphore_wait.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_set_event_handler.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_set_event_handler_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_set_cancel_handler.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_set_cancel_handler_f.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_cancel.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_testcancel.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_get_handle.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3 dispatch_source_get_mask.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_get_data.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_merge_data.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_source_create.3			\
+		dispatch_source_set_timer.3
+	cd $(DESTDIR)$(mandir)/man3 &&					\
+		$(LN_S) -f dispatch_time.3 dispatch_walltime.3
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-changes/attachments/20091116/ebff71c7/attachment.html>


More information about the libdispatch-changes mailing list