On Thu, 7 Jul 2016 20:55:54 -0000 (UTC), Bit Twister wrote:
>
> Yes, I did manage to hard code everything and get it to work.
> What I want to do is automate the Makefile. :)
>
> Here is the current attempt at automation.
> I have linked all the text files to same_name.txt just to get
> something working.
> # cat Makefile
> src := $(lwildcard *.txt)
Well frap. Noting like posting code to see the mistake(s).
bad> src := $(lwildcard *.txt)
better src := $(wildcard *.txt)
Now I am getting .db.db instead of .db :(
# make
postmap: warning: generic.db, line 1: expected format: key whitespace value
postmap: warning: generic.db, line 1: expected format: key whitespace value
postmap: warning: sender_relay.db, line 0: expected format: key whitespace value
postmap: warning: sasl_passwd.db, line 0: expected format: key whitespace value
[root@wb postfix]# dir *.db*
-rw-r--r-- 1 root root 12288 Jul 6 14:36 aliases.db
-rw-r--r-- 1 root root 12288 Jul 6 14:36 generic.db
-rw-r--r-- 1 root root 12288 Jul 7 16:02 generic.db.db
-rw------- 1 root root 12288 Jul 6 14:36 sasl_passwd.db
-rw------- 1 root root 12288 Jul 7 16:02 sasl_passwd.db.db
-rw------- 1 root root 12288 Jul 6 14:36 sender_relay.db
-rw------- 1 root root 12288 Jul 7 16:02 sender_relay.db.db