- Timestamp:
- Aug 8, 2007, 9:16:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Documentation
r23 r48 31 31 #-------------------------------------------------------------------------------- 32 32 %.pdf : %.ps 33 @ $(ECHO) "Génération du fichier $*.pdf"34 @$(PS2PDF) $< $@35 @#Copy at directory33 @\ 34 $(ECHO) "Génération du fichier $*.pdf"; \ 35 $(PS2PDF) $< $@; 36 36 37 37 %.ps : %.dvi 38 @$(ECHO) "Génération du fichier $*.ps" 39 @$(DVIPS) -o $@ $< 38 @\ 39 $(ECHO) "Génération du fichier $*.ps"; \ 40 $(DVIPS) -o $@ $<; 40 41 41 42 %.dvi : $(DIR_TEX)/%.tex 42 @$(ECHO) "Génération du fichier $*.dvi" 43 @#touch $(patsubst %.tex,%.ind,$<) 44 @$(LATEX) $< 45 @$(LATEX) $< > /dev/null 46 @#$(MAKEINDEX) $(patsubst %.tex,%.idx,$<) 47 @citation=`$(GREP) "citation" $*.aux`; \ 48 if $(TEST) -n "$$citation" ; then \ 49 $(BIBTEX) $* ; \ 50 fi 51 @$(LATEX) $< > /dev/null 52 @$(LATEX) $< > /dev/null 43 @\ 44 $(ECHO) "Génération du fichier $*.dvi"; \ 45 $(LATEX) $<; \ 46 $(LATEX) $< > /dev/null; \ 47 citation=`$(GREP) "citation" $*.aux`; \ 48 if $(TEST) -n "$$citation" ; then \ 49 $(BIBTEX) $* ; \ 50 fi; \ 51 $(LATEX) $< > /dev/null; \ 52 $(LATEX) $< > /dev/null; 53 53 54 54 #-------------------------------------------------------------------------------- … … 56 56 #-------------------------------------------------------------------------------- 57 57 $(DIR_SCHEMA_EPS) : 58 @$(ECHO) "Make directory : $@" 59 @$(MKDIR) $@ 58 @\ 59 $(ECHO) "Make directory : $@"; \ 60 $(MKDIR) $@; 60 61 61 62 $(DIR_SCHEMA_EPS)/%.eps : $(DIR_SCHEMA)/%.eps $(DIR_SCHEMA_EPS) 62 @$(ECHO) "Generate files : $*.eps" 63 @$(CP) $(DIR_SCHEMA)/$*.eps $(DIR_SCHEMA_EPS) 63 @\ 64 $(ECHO) "Generate files : $*.eps"; \ 65 $(CP) $(DIR_SCHEMA)/$*.eps $(DIR_SCHEMA_EPS); 64 66 65 67 $(DIR_SCHEMA_EPS)/%.eps : $(DIR_SCHEMA)/%.fig $(DIR_SCHEMA_EPS) 66 @$(ECHO) "Generate files : $*.eps" 67 @$(FIG2EPS) $< $@ 68 @\ 69 $(ECHO) "Generate files : $*.eps"; \ 70 $(FIG2EPS) $< $@; 68 71 69 72 #-------------------------------------------------------------------------------- … … 72 75 73 76 clean : 74 @$(ECHO) "Delete temporary files "$(PWD) 75 @$(RM) $(DIR_SCHEMA_EPS) 76 @$(RM) $(DVI_FILES) $(PS_FILES) $(PDF_FILES) 77 @$(MAKE) clean_rec DIR_CLEAN=. 77 @\ 78 $(ECHO) "Delete temporary files "$(PWD); \ 79 $(RM) $(DIR_SCHEMA_EPS); \ 80 $(RM) $(DVI_FILES) $(PS_FILES) $(PDF_FILES); \ 81 $(MAKE) clean_rec DIR_CLEAN=.; 78 82 79 83 #Clean recursive 80 84 clean_rec : 81 @$(ECHO) "Delete temporary files in directory $(DIR_CLEAN)" 82 @$(RM) $(DIR_CLEAN)/*~ \ 85 @\ 86 $(ECHO) "Delete temporary files in directory $(DIR_CLEAN)"; \ 87 $(RM) $(DIR_CLEAN)/*~ \ 83 88 $(DIR_CLEAN)/*.bak \ 84 89 $(DIR_CLEAN)/*.aux \ … … 95 100 $(DIR_CLEAN)/*.nav \ 96 101 $(DIR_CLEAN)/*.snm \ 97 $(DIR_CLEAN)/missfont.log 98 @# The .bbl file is to be removed if "bibtex" is used. 99 @for files in `$(LS) $(DIR_CLEAN)`; do \ 102 $(DIR_CLEAN)/missfont.log; \ 103 for files in `$(LS) $(DIR_CLEAN)`; do \ 100 104 if $(TEST) -d $(DIR_CLEAN)/$$files; \ 101 105 then \ … … 109 113 110 114 help : 111 @$(ECHO) " -----[ Documentation ]------------------------------" 112 @$(ECHO) "" 113 @$(ECHO) " * all_documentation : Generate all documents" 114 @$(ECHO) " * clean : Erase all generate files" 115 @$(ECHO) " * help : Print this message" 116 @$(ECHO) "" 115 @\ 116 $(ECHO) " -----[ Documentation ]------------------------------";\ 117 $(ECHO) ""; \ 118 $(ECHO) " * all_documentation : Generate all documents"; \ 119 $(ECHO) " * clean : Erase all generate files"; \ 120 $(ECHO) " * help : Print this message"; \ 121 $(ECHO) "";
Note: See TracChangeset
for help on using the changeset viewer.