diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-22 00:17:33 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-22 00:17:33 +0100 |
| commit | f2db614faffca90b514828cc045dde9be48c6802 (patch) | |
| tree | 8cb43c3d8239d53004bd2f8878782dc87c284a44 /Makefile | |
| parent | e112b437fca16f2da6cfad645e8cf20ded065e51 (diff) | |
| download | nissy-f2db614faffca90b514828cc045dde9be48c6802.tar.gz nissy-f2db614faffca90b514828cc045dde9be48c6802.zip | |
Added website; released 2.0.1
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | # See LICENSE file for copyright and license details. | 1 | # See LICENSE file for copyright and license details. |
| 2 | 2 | ||
| 3 | VERSION = 2.0 | 3 | VERSION = 2.0.1 |
| 4 | 4 | ||
| 5 | PREFIX = /usr/local | 5 | PREFIX = /usr/local |
| 6 | MANPREFIX = ${PREFIX}/share/man | 6 | MANPREFIX = ${PREFIX}/share/man |
| @@ -40,6 +40,16 @@ dist: clean nissy.exe | |||
| 40 | rm -rf nissy-${VERSION} | 40 | rm -rf nissy-${VERSION} |
| 41 | mv nissy.exe nissy-${VERSION}.exe | 41 | mv nissy.exe nissy-${VERSION}.exe |
| 42 | 42 | ||
| 43 | upload: dist | ||
| 44 | rsync -v --rsync-path=openrsync nissy-${VERSION}.exe \ | ||
| 45 | tronto.net:/var/www/htdocs/nissy.tronto.net/ | ||
| 46 | rsync -v --rsync-path=openrsync nissy-${VERSION}.tar.gz \ | ||
| 47 | tronto.net:/var/www/htdocs/nissy.tronto.net/ | ||
| 48 | |||
| 49 | website: | ||
| 50 | rsync -rv --rsync-path=openrsync \ | ||
| 51 | www/ tronto.net:/var/www/htdocs/nissy.tronto.net | ||
| 52 | |||
| 43 | install: nissy | 53 | install: nissy |
| 44 | mkdir -p ${DESTDIR}${PREFIX}/bin | 54 | mkdir -p ${DESTDIR}${PREFIX}/bin |
| 45 | cp -f nissy ${DESTDIR}${PREFIX}/bin/nissy | 55 | cp -f nissy ${DESTDIR}${PREFIX}/bin/nissy |
| @@ -53,5 +63,5 @@ uninstall: | |||
| 53 | rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 | 63 | rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 |
| 54 | for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done | 64 | for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done |
| 55 | 65 | ||
| 56 | .PHONY: all debug clean dist install uninstall | 66 | .PHONY: all debug clean dist install uninstall upload |
| 57 | 67 | ||
