Sfoglia il codice sorgente

Added Makefile target for distribution tarballs.

master
Aaron Marcher 7 anni fa
parent
commit
aa17443013
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 74B048E5C2474F9A
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. +8
    -0
      Makefile

+ 8
- 0
Makefile Vedi File

@@ -15,6 +15,14 @@ config.h:
clean:
rm -f slstatus

dist:
rm -rf "slstatus-$(VERSION)"
mkdir -p "slstatus-$(VERSION)"
cp -R arg.h config.def.h config.mk LICENSE Makefile README slstatus.1 \
slstatus.c slstatus.png "slstatus-$(VERSION)"
tar -cf - "slstatus-$(VERSION)" | gzip -c > "slstatus-$(VERSION).tar.gz"
rm -rf "slstatus-$(VERSION)"

install: all
mkdir -p "$(DESTDIR)$(PREFIX)/bin"
cp -f slstatus "$(DESTDIR)$(PREFIX)/bin"


Caricamento…
Annulla
Salva