From fa3c401390e1477ff4aae6b91fcf18eded478814 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 5 Feb 2021 22:14:48 -0500 Subject: 0.8.4 update, scroll added as separate prog --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f54e2d4..087e825 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3