Skip to content

Commit

Permalink
Fix make install (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: David P. Chassin <david.chassin@me.com>
  • Loading branch information
David P. Chassin authored and dchassin committed Oct 16, 2023
1 parent 52c8a6b commit 43c271f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ BUILT_SOURCES += python-requirements

install-exec-hook: | index docs
@cp ${top_srcdir}/{COPYRIGHT,LICENSE} $(prefix)
@mkdir -p $(prefix)/src/module
@chmod 775 $(prefix)/src/module
@echo ""
@echo "Install complete. Here are some useful commands now:"
@echo ""
Expand Down Expand Up @@ -304,10 +302,10 @@ system: python-install install $(prefix)/src

$(prefix)/src:
@echo Copying source files to $@...
@mkdir -p $(prefix)/src/source $(prefix)/src/python
@mkdir -p $(prefix)/src/source $(prefix)/src/python $(prefix)/src/module
@cp $(top_srcdir)/source/*.cpp $(prefix)/src/source
@cp $(top_srcdir)/python/*.cpp $(prefix)/src/python
@chmod -R 555 $(prefix)/src
@chmod -R 775 $(prefix)/src

index: weather library template

Expand Down

0 comments on commit 43c271f

Please sign in to comment.