0.8.4 update, scroll added as separate prog

This commit is contained in:
Luke Smith
2021-02-05 22:14:48 -05:00
parent 73c034ba05
commit fa3c401390
15 changed files with 493 additions and 585 deletions

View File

@ -15,9 +15,6 @@ options:
@echo "LDFLAGS = $(STLDFLAGS)"
@echo "CC = $(CC)"
config.h:
cp config.def.h config.h
.c.o:
$(CC) $(STCFLAGS) -c $<
@ -32,17 +29,20 @@ st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz *.o *.orig *.rej
rm -f st $(OBJ) st-$(VERSION).tar.gz *.rej *.orig *.o
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.h st.info st.1 arg.h st.h win.h $(SRC)\
st-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
rm -rf st-$(VERSION)
install: st
git submodule init
git submodule update
$(MAKE) install -C scroll
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f st $(DESTDIR)$(PREFIX)/bin
cp -f st-copyout $(DESTDIR)$(PREFIX)/bin
@ -62,4 +62,4 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st-urlhandler
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
.PHONY: all options clean dist install uninstall
.PHONY: all options clean dist scroll install uninstall