Adding ligatures patch as requested in #4
This commit is contained in:
parent
ff5f26cc3b
commit
e0169edec9
10 changed files with 222 additions and 8 deletions
12
Makefile
12
Makefile
|
|
@ -4,7 +4,11 @@
|
|||
|
||||
include config.mk
|
||||
|
||||
SRC = st.c x.c
|
||||
# Uncomment the line below and the hb.o line further down for the ligatures patch
|
||||
#LIGATURES_C = hb.c
|
||||
#LIGATURES_H = hb.h
|
||||
|
||||
SRC = st.c x.c $(LIGATURES_C)
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
all: options st
|
||||
|
|
@ -25,7 +29,9 @@ patches.h:
|
|||
$(CC) $(STCFLAGS) -c $<
|
||||
|
||||
st.o: config.h st.h win.h
|
||||
x.o: arg.h config.h st.h win.h
|
||||
x.o: arg.h config.h st.h win.h $(LIGATURES_H)
|
||||
# Uncomment the below line for the ligatures patch
|
||||
#hb.o: st.h
|
||||
|
||||
$(OBJ): config.h config.mk patches.h
|
||||
|
||||
|
|
@ -38,7 +44,7 @@ clean:
|
|||
dist: clean
|
||||
mkdir -p st-$(VERSION)
|
||||
cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\
|
||||
config.def.h st.info st.1 arg.h st.h win.h $(SRC)\
|
||||
config.def.h st.info st.1 arg.h st.h win.h $(LIGATURES_H) $(SRC)\
|
||||
st-$(VERSION)
|
||||
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
|
||||
rm -rf st-$(VERSION)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue