Changeset 3354cea5


Ignore:
Timestamp:
Jan 9, 2007, 3:24:04 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
4096d1f
Parents:
c681337
git-author:
Nelson Elhage <nelhage@mit.edu> (01/09/07 15:24:01)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/09/07 15:24:04)
Message:
Installing the executable/data as barnowl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    r15bd5ef r3354cea5  
    55prefix = @prefix@
    66exec_prefix = @exec_prefix@
    7 datadir = @datadir@
     7datadir = @datadir@/barnowl
    88bindir = @bindir@
    99mandir = @mandir@
     
    2929TESTER_SRC = tester.c
    3030
     31EXE = barnowl
     32
    3133BASE_OBJS = $(BASE_SRCS:.c=.o)
    3234
     
    4244
    4345owl: $(AUTOGEN) $(OBJS) owl.o libfaim
    44         ./athstatic $(CC) -o owl owl.o $(OBJS) $(LDFLAGS) $(LIBS)
     46        ./athstatic $(CC) -o $(EXE) owl.o $(OBJS) $(LDFLAGS) $(LIBS)
    4547
    4648tester: $(AUTOGEN) $(OBJS) tester.o
     
    5153
    5254clean: libfaimclean
    53         $(RM) owl tester *.o $(AUTOGEN) owl_prototypes.h.new
     55        $(RM) $(EXE) tester *.o $(AUTOGEN) owl_prototypes.h.new
    5456
    5557distclean: clean libfaimdistclean
     
    9799        (cd libfaim; $(MAKE) distclean)
    98100
    99 all: owl
     101all: $(EXE)
    100102
    101103install: all installdirs
    102         ${INSTALL_PROGRAM} owl ${bindir}/owl
    103         ${INSTALL_DATA} doc/owl.1 ${mandir}/man1/owl.1
    104         tar -C perl -c . | tar -C ${datadir}/owl -x
     104        ${INSTALL_PROGRAM} $(EXE) ${bindir}/$(EXE)
     105        ${INSTALL_DATA} doc/owl.1 ${mandir}/man1/barnowl.1
     106        tar -C perl -c . | tar -C ${datadir} -x
    105107
    106108installdirs: mkinstalldirs
    107         ${srcdir}/mkinstalldirs ${bindir} ${mandir}/man1 ${datadir}/owl
     109        ${srcdir}/mkinstalldirs ${bindir} ${mandir}/man1 ${datadir}
  • perlwrap.pm

    rc681337 r3354cea5  
    1717};
    1818
    19 use lib(get_data_dir()."/owl/lib");
     19use lib(get_data_dir()."/lib");
    2020use lib($::ENV{'HOME'}."/.owl/lib");
    2121
     
    397397    my @modules;
    398398    my $rv;
    399     foreach my $dir ( owl::get_data_dir() . "/owl/modules",
     399    foreach my $dir ( owl::get_data_dir() . "/modules",
    400400                      $ENV{HOME} . "/.owl/modules" )
    401401    {
Note: See TracChangeset for help on using the changeset viewer.