mirror of
				https://github.com/flynx/photobook.git
				synced 2025-10-29 02:10:08 +00:00 
			
		
		
		
	now a correct list of dependencies is generated for use with texlive and others
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									8186a1ae10
								
							
						
					
					
						commit
						7357f3a526
					
				
							
								
								
									
										13
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								Makefile
									
									
									
									
									
								
							| @ -125,6 +125,7 @@ DIST_NORMAL_FILES = \ | ||||
| 	README.md \
 | ||||
| 	LICENSE \
 | ||||
| 	Makefile \
 | ||||
| 	DEPENDS.txt \
 | ||||
| 	$(MODULE).cls \
 | ||||
| 	$(MODULE).pdf | ||||
| DIST_FILES = \
 | ||||
| @ -241,6 +242,16 @@ LN := cp -l | ||||
| 		> $@ | ||||
| 
 | ||||
| 
 | ||||
| # list of dependencies...
 | ||||
| #
 | ||||
| DEPENDS.txt: $(MODULE).cls | ||||
| 	cat $< \
 | ||||
| 		| grep -Pzo '\n\s*\\RequirePackage(\[[^]]*\])?\{[^}]*\}' \
 | ||||
| 		| sed 's/.*{\(.*\)}/hard \1\n/' \
 | ||||
| 		| grep -a hard \
 | ||||
| 		> $@ | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| #----------------------------------------------------------------------
 | ||||
| # Info targets...
 | ||||
| @ -409,7 +420,7 @@ sweep: | ||||
| 
 | ||||
| .PHONY: clean | ||||
| clean: sweep | ||||
| 	rm -rf $(DIST_DIR) $(BUILD_DIR) $(MODULE).md *.pdf | ||||
| 	rm -rf $(DIST_DIR) $(BUILD_DIR) $(MODULE).md DEPENDS.txt *.pdf | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -76,8 +76,8 @@ | ||||
| 
 | ||||
| %%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the  | ||||
| %%%		code and the generated docs... | ||||
| \edef\photobook@FILEVERSION{v0.1.13} | ||||
| \edef\photobook@FILEDATE{2023-03-13} | ||||
| \edef\photobook@FILEVERSION{v0.1.14} | ||||
| \edef\photobook@FILEDATE{2023-03-18} | ||||
| 
 | ||||
| 
 | ||||
| %% \documentclass{ltxdoc} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user