[commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: HsTime.h should be installed (acf02ec)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:48:08 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,ghc,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/acf02ece782ad06eed2bf8980e2c24e65d6dca3b

>---------------------------------------------------------------

commit acf02ece782ad06eed2bf8980e2c24e65d6dca3b
Author: mukai <mukai at jmuk.org>
Date:   Wed Dec 13 07:13:46 2006 -0800

    HsTime.h should be installed
    
    darcs-hash:20061213151346-f0081-bc57b7801c511854b6e762e4db78a5e68ff109b7


>---------------------------------------------------------------

acf02ece782ad06eed2bf8980e2c24e65d6dca3b
 Makefile         |  2 +-
 include/Makefile | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e2d286b..76ea560 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 TOP=..
 include $(TOP)/mk/boilerplate.mk
 
-SUBDIRS = 
+SUBDIRS = include
 
 ALL_DIRS = \
 	cbits \
diff --git a/include/Makefile b/include/Makefile
new file mode 100644
index 0000000..748523c
--- /dev/null
+++ b/include/Makefile
@@ -0,0 +1,11 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+
+H_FILES = $(wildcard *.h)
+
+includedir = $(libdir)/include
+INSTALL_INCLUDES = $(H_FILES)
+
+DIST_CLEAN_FILES += HsTimeConfig.h
+
+include $(TOP)/mk/target.mk



More information about the ghc-commits mailing list