[Slackbuilds-users] how can i define data_dir in makefile?

David Woodfall dave at dawoodfall.net
Tue Aug 21 17:37:00 UTC 2018


On Tuesday 21 August 2018 11:33,
Fernando Lopez <fernando.lopezjr at gmail.com> put forth the proposition:
> didnt work. =\

You could try:

export DATA_DIR=bla

But it does say to put it in the make file, so maybe you'll have to
sed it in or make a patch.

-Dave

Well it does say to put it in the makefile
> On Tue, Aug 21, 2018 at 11:31 AM David Woodfall <dave at dawoodfall.net> wrote:
>
> > On Tuesday 21 August 2018 11:29,
> > Fernando Lopez <fernando.lopezjr at gmail.com> put forth the proposition:
> > > this is the error i get when i run my program...
> > > *"ERROR: DATA_DIR not found.  Define in make file or run in src dir"*
> > >
> > > this is how i am doing it:
> > >
> > > make \
> > >   CFLAGS="$SLKCFLAGS" \
> > >   DATA_DIR=$PKG/usr/share/icsim
> >
> > Try putting in front of make or exporting it:
> >
> > DATA_DIR=bla \
> > CFLAGS="$SLKCFLAGS" \
> > make
> > --


--

How do I type "for i in *.dvi do xdvi $i done" in a GUI?
  -- Discussion in comp.os.linux.misc on the intuitiveness of interfaces

                                                            .--.  oo
                                                           (____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'


More information about the SlackBuilds-users mailing list