Automate

2026-07-18

Manually moving files from desktop to server is a no-go — but I did it for a few days.

I like make. It has been on Unix-like systems like forever. My Makefile already converted from markdown to HTML, so

install:
        scp -r /x/x/x/erik.cool/output/ x@x:/x/x/x/erik.cool/

But nothing changed. Oh well, there is some caching, so I waited. But no. I waited longer. But no.

After more time than I wish to disclose I discovered a folder called output on the server, and that folder shouldn't be there. Ah, yeah, of course:

install:
        scp -r /x/x/x/erik.cool/output/* x@x:/x/x/x/erik.cool/

Now make install works. I should save the old files for a quick rollback, maybe. I should only copy files that have changed, maybe.