diff options
author | Luke Smith <luke@lukesmith.xyz> | 2021-02-05 22:14:48 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2021-02-05 22:28:59 -0500 |
commit | fa3c401390e1477ff4aae6b91fcf18eded478814 (patch) | |
tree | 08a40bec3b5bb8f7887bd52c9aed866ad8a64393 /Makefile | |
parent | 73c034ba05101e2fc337183af1cdec5bfe318b99 (diff) |
0.8.4 update, scroll added as separate prog
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |