Fix commits 86e8b5 and 7bd1fd regarding "make install"
authorIvan Maidanski <ivmai@mail.ru>
Tue, 9 Aug 2011 17:10:25 +0000 (21:10 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 9 Aug 2011 17:10:25 +0000 (21:10 +0400)
(fix paths for private header files and copy COPYING file).

* Makefile.am (dist_pkgdata_DATA): Add COPYING.
* src/Makefile.am (EXTRA_DIST): Add atomic_ops/sysdeps/README (move
from private_HEADERS).
* src/Makefile.am (privatedir): Fix path.
* src/Makefile.am (private_HEADERS): Make "nobase".

Makefile.am
src/Makefile.am

index 3c0dae4..606ba8b 100644 (file)
@@ -3,4 +3,6 @@ SUBDIRS = src doc tests
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = atomic_ops.pc
 
+dist_pkgdata_DATA = COPYING
+
 #distclean-local:
index 3b11a2a..a446571 100644 (file)
@@ -10,13 +10,13 @@ endif
 
 libatomic_ops_gpl_a_SOURCES = atomic_ops_stack.c atomic_ops_malloc.c
 
-EXTRA_DIST=Makefile.msft \
+EXTRA_DIST=Makefile.msft atomic_ops/sysdeps/README \
         atomic_ops/generalize-small.template atomic_ops/sysdeps/sunc/sparc.S
 
 #Private Headers
-privatedir=${includedir}/atomic_ops/
-private_HEADERS=atomic_ops/generalize.h atomic_ops/generalize-small.h \
-          atomic_ops/sysdeps/README \
+privatedir=${includedir}/
+nobase_private_HEADERS=atomic_ops/generalize.h atomic_ops/generalize-small.h \
+        \
           atomic_ops/sysdeps/acquire_release_volatile.h \
           atomic_ops/sysdeps/aligned_atomic_load_store.h \
           atomic_ops/sysdeps/all_acquire_release_volatile.h \