- 1 Post
- 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
3DPrinting@lemmy.world•Seems relevant to this sub, Sketchfab was sold to a company called KitBashEnglish
0·19 days agoSketchfab is well-known in 3D rendering and gamedev communities. I don’t think it has many print-friendly models.
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.

Oh right, that was not the whole Makefile, only the part that caused problems. As @fruitcantfly@programming.dev 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?