| 1 | SHELL=/bin/sh |
| 2 | |
| 3 | include $(HOME_LORENE)/local_settings |
| 4 | |
| 5 | BIN_TOOLS = $(HOME_LORENE)/bin |
| 6 | |
| 7 | install: $(BIN_TOOLS) $(BIN_TOOLS)/reorg_comments $(HOME_LORENE)/Doc/refguide |
| 8 | |
| 9 | $(HOME_LORENE)/Doc/refguide: Source/lorene.C $(HOME_LORENE)/C++/Include/*.h |
| 10 | $(BIN_TOOLS)/reorg_comments $? |
| 11 | mv $(?:=_r) . |
| 12 | rm -fr $@ |
| 13 | doc++ -p -w -W -d $@ lorene.C_r |
| 14 | |
| 15 | refguide.tex: Source/lorene.C $(HOME_LORENE)/C++/Include/*.h |
| 16 | $(BIN_TOOLS)/reorg_comments $? |
| 17 | mv $(?:=_r) . |
| 18 | doc++ -p -w -W -t -o $(HOME_LORENE)/Doc/refguide.tex lorene.C_r |
| 19 | |
| 20 | $(BIN_TOOLS): |
| 21 | mkdir $@ |
| 22 | |
| 23 | $(BIN_TOOLS)/reorg_comments: |
| 24 | $(CXX) $(CXXFLAGS) -o $@ $(HOME_LORENE)/Inst_tools/reorg_comments.C |
| 25 | |
| 26 | uninstall: |
| 27 | rm -f $(BIN_TOOLS)/reorg_comments |
| 28 | rm -f *.h_r |
| 29 | rm -f *.C_r |