Changeset 51 for trunk/IPs/systemC
- Timestamp:
- Aug 17, 2007, 6:22:15 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Documentation/Source
- Files:
-
- 2 deleted
- 4 edited
- 36 copied
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Documentation/Source/Include/doc-file_source.sed
r45 r51 3 3 \def\dirschema{@DIRSCHEMA} 4 4 \def\dirdoc{@DIRDOC} 5 \def\dirpackage{@DIRPACKAGE} 5 6 \def\dircommon{\dirdoc/common} 6 7 \def\dirroot{\dirdoc/\lang} 7 8 8 \include{ Package/\file}9 \include{\dirpackage/\file} 9 10 10 11 % Package de variables d'environnement : Titre, command etc ... 11 12 \usepackage{Include/doc-style} 12 \usepackage{ Package/\file}13 \usepackage{\dirpackage/\file} 13 14 14 15 %------------------------------------------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Documentation/Source/Include/poster-file_source.sed
r23 r51 3 3 \def\dirschema{@DIRSCHEMA} 4 4 \def\dirdoc{@DIRDOC} 5 \def\dirpackage{@DIRPACKAGE} 5 6 \def\dircommon{\dirdoc/common} 6 7 \def\dirroot{\dirdoc/\lang} 7 8 8 \include{ Package/\file}9 \include{\dirpackage/\file} 9 10 \pagestyle{empty} 10 11 11 12 % Package de variables d'environnement : Titre, command etc ... 12 13 \usepackage{Include/poster-style} 13 \usepackage{ Package/\file}14 \usepackage{\dirpackage/\file} 14 15 15 16 %------------------------------------------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Documentation/Source/Include/ppt-file_source.sed
r17 r51 4 4 \def\file{@FILE} 5 5 \def\dirschema{@DIRSCHEMA} 6 \def\dirpackage{@DIRPACKAGE} 6 7 \def\dirdoc{@DIRDOC} 7 8 \def\dircommon{\dirdoc/common} … … 11 12 % Package de variables d'environnement : Titre, command etc ... 12 13 \usepackage{Include/ppt-style} 13 \include{ Package/\file}14 \usepackage{ Package/\file}14 \include{\dirpackage/\file} 15 \usepackage{\dirpackage/\file} 15 16 16 17 %------------------------------------------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Documentation/Source/Makefile
r48 r51 23 23 DIR_DOCUMENTATION = .. 24 24 DIR_INCLUDE = Include 25 DIR_PACKAGE = Package25 DIR_PACKAGE = Info 26 26 DIR_DOCUMENTS = Documents 27 DIR_LANGUAGE = Language27 DIR_LANGUAGE = Info 28 28 DIR_TYPE = Info 29 29 DIR_GRAPH = Graph … … 43 43 #-------------------------------------------------------------------------------- 44 44 45 ALL_FILES = $(wildcard $(DIR_TYPE)/* )45 ALL_FILES = $(wildcard $(DIR_TYPE)/*.type) 46 46 47 47 TEX_FILES = $(wildcard $(DIR_TEX)/*.tex) … … 66 66 @\ 67 67 for file in $(ALL_FILES); do \ 68 file=`$(BASENAME) $$file `;\69 type=`$(CAT) $(DIR_TYPE)/$$file `; \68 file=`$(BASENAME) $$file .type`; \ 69 type=`$(CAT) $(DIR_TYPE)/$$file.type`; \ 70 70 \ 71 for lang in `$(CAT) $(DIR_LANGUAGE)/$$file `; do \71 for lang in `$(CAT) $(DIR_LANGUAGE)/$$file.lang`; do \ 72 72 if $(TEST) ! -f "$(DIR_TEX)/$$file-$$lang.tex"; then \ 73 73 $(ECHO) "s/@LANG/$$lang/" > $$$$; \ 74 74 $(ECHO) "s/@FILE/$$file/" >> $$$$; \ 75 $(ECHO) "s/@DIRPACKAGE/$(DIR_PACKAGE)/" >> $$$$; \ 75 76 $(ECHO) "s/@DIRDOC/$(DIR_DOCUMENTS)\/$$file/" >> $$$$; \ 76 77 $(ECHO) "s/@DIRSCHEMA/$(DIR_SCHEMA_EPS)/" >> $$$$; \ … … 137 138 $(READ) FILENAME; \ 138 139 \ 139 if $(TEST) -z "$$FILENAME" -o -d "$(DIR_TYPE)/$$FILENAME "; \140 if $(TEST) -z "$$FILENAME" -o -d "$(DIR_TYPE)/$$FILENAME.type"; \ 140 141 then \ 141 142 $(ECHO) "Invalid name : string is empty, or filename is already used"; \ … … 143 144 fi; \ 144 145 \ 145 $(ECHO) "Create file : $(DIR_LANGUAGE)/$$FILENAME "; \146 $(ECHO) "Create file : $(DIR_LANGUAGE)/$$FILENAME.lang"; \ 146 147 $(ECHO) " (Default language : $(DEFAULT_LANG))"; \ 147 $(ECHO) "$(DEFAULT_LANG)" > $(DIR_LANGUAGE)/$$FILENAME ; \148 \ 149 $(ECHO) "Create file : $(DIR_TYPE)/$$FILENAME "; \150 $(ECHO) $$TYPE > $(DIR_TYPE)/$$FILENAME ; \148 $(ECHO) "$(DEFAULT_LANG)" > $(DIR_LANGUAGE)/$$FILENAME.lang; \ 149 \ 150 $(ECHO) "Create file : $(DIR_TYPE)/$$FILENAME.type"; \ 151 $(ECHO) $$TYPE > $(DIR_TYPE)/$$FILENAME.type; \ 151 152 \ 152 153 $(ECHO) "Create file : $(DIR_PACKAGE)/$$FILENAME.sty"; \ … … 178 179 CPT=1; \ 179 180 for files in $(ALL_FILES); do \ 180 files=`$(BASENAME) $$files `; \181 files=`$(BASENAME) $$files .type`; \ 181 182 $(ECHO) "$$CPT) $$files"; \ 182 183 FILES[$$CPT]=$$files; \ … … 200 201 FILENAME=$${FILES[$$NUM_FILE]}; \ 201 202 \ 202 $(ECHO) "Delete file : $(DIR_TYPE)/$$FILENAME ";\203 $(RM) $(DIR_TYPE)/$$FILENAME ;\204 \ 205 $(ECHO) "Delete file : $(DIR_LANGUAGE)/$$FILENAME ";\206 $(RM) $(DIR_LANGUAGE)/$$FILENAME ; \203 $(ECHO) "Delete file : $(DIR_TYPE)/$$FILENAME.type"; \ 204 $(RM) $(DIR_TYPE)/$$FILENAME.type; \ 205 \ 206 $(ECHO) "Delete file : $(DIR_LANGUAGE)/$$FILENAME.lang"; \ 207 $(RM) $(DIR_LANGUAGE)/$$FILENAME.lang; \ 207 208 \ 208 209 $(ECHO) "Delete file : $(DIR_PACKAGE)/$$FILENAME.sty"; \ … … 227 228 CPT=1; \ 228 229 for files in $(ALL_FILES); do \ 229 files=`$(BASENAME) $$files `;\230 files=`$(BASENAME) $$files .type`; \ 230 231 $(ECHO) "$$CPT) $$files"; \ 231 232 FILES[$$CPT]=$$files; \ … … 250 251 $(READ) FILENAME_DEST; \ 251 252 \ 252 if $(TEST) -z "$$FILENAME_DEST" -o -d "$(DIR_TYPE)/$$FILENAME_DEST ";\253 if $(TEST) -z "$$FILENAME_DEST" -o -d "$(DIR_TYPE)/$$FILENAME_DEST.type"; \ 253 254 then \ 254 255 $(ECHO) "Invalid name : string is empty, or filename is already used"; \ … … 256 257 fi; \ 257 258 \ 258 $(ECHO) "Rename file : $(DIR_LANGUAGE)/$$FILENAME_SRC ";\259 $(MV) $(DIR_LANGUAGE)/$$FILENAME_SRC $(DIR_LANGUAGE)/$$FILENAME_DEST;\260 \ 261 $(ECHO) "Rename file : $(DIR_TYPE)/$$FILENAME_SRC "; \262 $(MV) $(DIR_TYPE)/$$FILENAME_SRC $(DIR_TYPE)/$$FILENAME_DEST;\259 $(ECHO) "Rename file : $(DIR_LANGUAGE)/$$FILENAME_SRC.lang"; \ 260 $(MV) $(DIR_LANGUAGE)/$$FILENAME_SRC.lang $(DIR_LANGUAGE)/$$FILENAME_DEST.lang; \ 261 \ 262 $(ECHO) "Rename file : $(DIR_TYPE)/$$FILENAME_SRC.type"; \ 263 $(MV) $(DIR_TYPE)/$$FILENAME_SRC.type $(DIR_TYPE)/$$FILENAME_DEST.type; \ 263 264 \ 264 265 $(ECHO) "Rename file : $(DIR_PACKAGE)/$$FILENAME_SRC.sty"; \ 265 $(MV) $(DIR_PACKAGE)/$$FILENAME_SRC.sty $(DIR_PACKAGE)/$$FILENAME_DEST.sty; \266 $(MV) $(DIR_PACKAGE)/$$FILENAME_SRC.sty $(DIR_PACKAGE)/$$FILENAME_DEST.sty; \ 266 267 \ 267 268 $(ECHO) "Rename directory : $(DIR_DOCUMENTS)/$$FILENAME_SRC"; \ 268 $(MV) $(DIR_DOCUMENTS)/$$FILENAME_SRC $(DIR_DOCUMENTS)/$$FILENAME_DEST;269 $(MV) $(DIR_DOCUMENTS)/$$FILENAME_SRC $(DIR_DOCUMENTS)/$$FILENAME_DEST; 269 270 270 271 #-------------------------------------------------------------------------------- … … 288 289 CPT=0; \ 289 290 for files in $(ALL_FILES); do \ 290 files=`$(BASENAME) $$files `;\291 type=`$(CAT) $(DIR_TYPE)/$$files `; \291 files=`$(BASENAME) $$files .type`; \ 292 type=`$(CAT) $(DIR_TYPE)/$$files.type`; \ 292 293 $(ECHO) "$$CPT) $$type - $$files"; \ 293 294 FILES[$$CPT]=$$files; \ … … 312 313 \ 313 314 CPT=0; \ 314 for lang in `$(CAT) $(DIR_LANGUAGE)/$$SELECT_FILE `; do\315 for lang in `$(CAT) $(DIR_LANGUAGE)/$$SELECT_FILE.lang`; do \ 315 316 $(ECHO) "$$CPT) $$lang"; \ 316 317 LANG[$$CPT]=$$lang; \
Note: See TracChangeset
for help on using the changeset viewer.