makefile: use typeoutfileinfo instead of ltxfileinfo

This commit is contained in:
Robert Alessi 2023-01-28 20:58:54 +01:00
parent f204896c74
commit adc5f5015d
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
NAME = icite
SHELL = bash
PWD = $(shell pwd)
VERS = $(shell ltxfileinfo -v $(NAME).dtx|sed -e 's/^v//')
#VERS = $(shell ltxfileinfo -v $(NAME).dtx|sed -e 's/^v//')
VERS := $(shell typeoutfileinfo $(NAME).dtx | egrep -o '\+.*$$' | awk '{ print $$6 }' | sed -e 's/^v//')
LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL)
UTREE = $(shell kpsewhich --var-value TEXMFHOME)
CMP = lualatex-dev