Changeset 2239 in ProjectBuilder for devel/pb-modules/Makefile.PL


Ignore:
Timestamp:
Jul 31, 2017, 1:25:12 AM (7 years ago)
Author:
Bruno Cornec
Message:

Start move to YAML conf files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/Makefile.PL

    r2136 r2239  
    7474    $text .= "\t".'chmod 755 $(DESTDIR)'."$sharedir\n";
    7575    $text .= "\t".'cp etc/pb.conf $(DESTDIR)'."$sharedir\n";
     76    $text .= "\t".'cp etc/pb.yml $(DESTDIR)'."$sharedir\n";
    7677
    7778    # Also create a fake version in /etc/pb for sysadmin to modify
     
    7980    $text .= "\t".'chmod 755 $(DESTDIR)'."$sysconfdir\n";
    8081    $text .= "\t".'perl -p -e \'s|^|#|\' etc/pb.conf > $(DESTDIR)/'."$sysconfdir/pb.conf\n";
     82    $text .= "\t".'perl -p -e \'s|^|#|\' etc/pb.yml > $(DESTDIR)/'."$sysconfdir/pb.yml\n";
    8183    # Doesn't seem to work in the makefile generated for now :-(
    8284    #$text .= "\t".'perl -p -e \'s|^([^#])|#$1|\' etc/pb.conf > $(DESTDIR)/'."$sysconfdir/pb.conf\n";
     
    8587    $text .= "\t".'mkdir -p $(DESTDIR)'."$mandir/man5\n";
    8688    $text .= "\t".'pod2man --section=5 etc/pb.conf.pod > $(DESTDIR)'."$mandir/man5/pb.conf.5\n";
     89    $text .= "\t".'pod2man --section=5 etc/pb.conf.pod > $(DESTDIR)'."$mandir/man5/pb.yml.5\n";
    8790    return($text);
    8891}
Note: See TracChangeset for help on using the changeset viewer.