diff options
author | B Stack <bgstack15@gmail.com> | 2020-12-11 14:37:59 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-12-11 14:37:59 -0500 |
commit | 1a6ca71719469c50cda0ea932c96630fc200036d (patch) | |
tree | e04ca634acffdcd84f9857822b707ce3b490f093 /config | |
parent | add note about filename (diff) | |
download | hex-zero-1a6ca71719469c50cda0ea932c96630fc200036d.tar.gz hex-zero-1a6ca71719469c50cda0ea932c96630fc200036d.tar.bz2 hex-zero-1a6ca71719469c50cda0ea932c96630fc200036d.zip |
move styles to Flask static/ dir
Diffstat (limited to 'config')
-rw-r--r-- | config/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/config/Makefile b/config/Makefile index 74cb73f..b99dac7 100644 --- a/config/Makefile +++ b/config/Makefile @@ -81,8 +81,9 @@ deplist_opts: @${grepbin} -h -o -riIE '\<(dep|rec|sug)-[^\ :]+:' ${SRCDIR} | ${sedbin} -r -e 's/(dep|rec|sug)-//;' -e 's/:$$//;' | ${sortbin} | ${uniqbin} 1>&2 install_files: - ${installbin} -m0755 -d ${LOGDIR} ${APPDIR} ${APPDIR}/up ${DOCDIR} ${DEFAULTDIR} + ${installbin} -m0755 -d ${LOGDIR} ${APPDIR}/up ${APPDIR}/static ${DOCDIR} ${DEFAULTDIR} ${installbin} -m0644 -t ${APPDIR} ${SRCDIR}/front.html.in + ${installbin} -m0644 -t ${APPDIR}/static ${SRCDIR}/static/styles.css ${installbin} -m0644 ${SRCDIR}/config/${APPNAME}.conf.example ${APPDIR}/${APPNAME}.conf ${installbin} -m0755 -t ${APPDIR} ${SRCDIR}/${APPNAME_}.py ${SRCDIR}/${APPNAME}.wsgi \ ${SRCDIR}/check-for-short_url.sh @@ -122,6 +123,7 @@ uninstall: ${APPDIR}/check-for-short_url.sh \ ${APPDIR}/front.html.in ${DOCDIR}/* ${DEFAULTDIR}/${APPNAME} \ ${APPDIR}/migrations/versions/* ${APPDIR}/migrations/* \ + ${APPDIR}/static/* \ 1>/dev/null 2>&1 || : ${rmbin} -f ${APACHEDIR}/${APPNAME}.conf || : ${rmbin} -f ${APPDIR}/nsfw_model/* ${APPDIR}/nsfw_detect.py || : @@ -130,8 +132,11 @@ uninstall: ${rmbin} -f ${CRONDIR}/80_${APPNAME}_cron || : # remove all installed directories that are now blank. - ${rmdirbin} ${APPDIR}/up ${DEFAULTDIR} ${SYSVDIR} ${APPDIR} \ - ${APACHEDIR} ${SYSDDIR} ${DOCDIR} ${LOGDIR} 2>/dev/null || : + ${rmdirbin} ${APPDIR}/up ${APPDIR}/static ${APPDIR}/migrations/versions \ + ${DEFAULTDIR} ${SYSVDIR} ${APACHEDIR} ${SYSDDIR} ${DOCDIR} \ + ${LOGDIR} 2>/dev/null || : + ${rmdirbin} ${APPDIR}/migrations 2>/dev/null || : + ${rmdirbin} ${APPDIR} 2>/dev/null || : clean: -@${echobin} "target $@ not implemented yet! Gotta say unh." && ${falsebin} |