Ethan Quach wrote: > Dave Miner wrote: > >> usr/src/cmd/beadm/Makefile: >> >> 53-54: Seems like we could add a suffix rule for .py to Makefile.master >> as a cleaner and more general answer; that should allow for using the >> standard PROG and its derived definitions rather than the >> > > I think ideally we should compile the .py file as well (and perhaps > deliver the .pyc with our package? I don't know that much about python > so I'm not really sure if we should or not.) > > I'll look at adding the rule with the Makefile.master, that part doesn't > look too hard.
This turned out to be more of a pain than I thought, especially if we're looking to define compiling the python modules as part of the rule. If you don't mind, I'd like to defer this part, but I'll add compiling the python in our beadm/Makefile, and look into delivering the .pyc files in our package. -ethan