- 2 Posts
- 3 Comments
Joined 3 years ago
Cake day: July 16th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
blamster19@programming.devto
Selfhosted@lemmy.world•What are your self–hosted alternatives for inter device communication?English
2·3 months agoI use KDE Connect. Works well with Tailscale when I’m outside my home network.
blamster19@programming.devOPto
Selfhosted@lemmy.world•loophole.cloud tunnel serviceEnglish
3·1 year agoThank you, you brought up a good point about them selling data. What alternatives do you suggest to expose my service to the internet for personal use away from home?

Oh right, that was not the whole Makefile, only the part that caused problems. As @[email protected] pointed out, it breaks down with more
SOURCEfiles and populates the newly created directories with only the firstSOURCEfile. After some more poking and reading I found a method that works by usingdefine:define rule $(DESTINATION)/$(shell echo $(notdir $(1)) | sed -E 's/^([0-9]{4})-([0-9]{2})-([0-9]{2})-(.*)\.md$$/\1\/\2\/\3\/\4.md/'): $(1) | $(DESTINATION)/$(shell echo $(notdir $(1)) | sed -E 's/^([0-9]{4})-([0-9]{2})-([0-9]{2})-(.*)\.md$$/\1\/\2\/\3/') /bin/bash ./myscript.sh $$< > $$@ endef $(foreach f,$(SOURCE),$(eval $(call rule,$(f))))I feel like this is an abuse of Make, but it works. When is it a good idea to delegate the building process to other tools?