View Single Post
  #5   (View Single Post)  
Old 19th December 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by Funkygoby View Post
I would to like be able to:
-build a whole artist discography
...
-build a specific tune
You may want to play with creating different targets within your Makefile's -- target discography create a discography with the command:

$ make discography

...while target tunes performs different functionality via:

$ make tunes
Quote:
When I create a new artist/album, I want to reuse existing Makefiles without bothering with the differents subdirs.
My suggestion is to carefully think through implementing one artist, & then scale up to multiple artists.
Quote:
Reading the ports Makefile should have been my first steps... I will start here + man make and come back with the result.
Looking through some examples of tiered OpenBSD ports may be useful:
  • /usr/ports/devel/jdk
  • /usr/ports/lang/python
...but again, the ports system addresses a more complex set of requirements than what you describe. My suggestion is to start simple & iterate. You will likely not come up with the perfect solution on the first try. Iterating again & again is what programming is all about. Really.
Quote:
While writing a thread, how to highlight command names? or ports? I read the forum "README" but couldn't find a thing about this.
Discussion in the following sticky thread may help:

http://daemonforums.org/showthread.php?t=51

Last edited by ocicat; 20th December 2016 at 01:21 AM. Reason: add clarity
Reply With Quote