diff options
| author | Clemens Fruhwirth <clemens@endorphin.org> | 2008-10-10 13:29:36 +0000 | 
|---|---|---|
| committer | Clemens Fruhwirth <clemens@endorphin.org> | 2008-10-10 13:29:36 +0000 | 
| commit | cfaa0f53428e19ae91d25ccd519e4b1cfdd83b8f (patch) | |
| tree | 0824f751f98cfc6cd0f1955c65a57bc82b2801a0 /Makefile | |
| parent | a5ad7c01155f362d7d4bdbd164a3776787473a2a (diff) | |
Compile with wrapper but remove it for dist-install
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 | 
1 files changed, 8 insertions, 1 deletions
| @@ -45,6 +45,11 @@ else  INPLACE_DATADIR = '$$prefix/share'  endif + +ifeq "$(BuildSharedLibs)" "YES" +DYN_FLAGS = --ghc-option=-dynamic +endif +  install-inplace:  	$(INSTALL_PACKAGE) install '$(GHC_PKG_PROG)' '$(INPLACE_PKG_CONF)' ''  \  	    '$(FPTOOLS_TOP_ABS)/utils/haddock/install-inplace' \ @@ -59,4 +64,6 @@ install-inplace:  	    '$$prefix/haddock'                                 \  	    --distpref dist-install                            \  	    $(INSTALL_INPLACE_FLAGS) - +ifeq "$(BuildSharedLibs)" "YES" +	    mv dist-install/build/haddock/haddock.dyn dist-install/build/haddock/haddock # remove the wrapper +endif
\ No newline at end of file | 
