/[soft]/drakx-net/trunk/Makefile
ViewVC logotype

Diff of /drakx-net/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 600 by dmorgan, Thu Feb 3 20:03:50 2011 UTC revision 601 by dmorgan, Tue Feb 22 22:56:06 2011 UTC
# Line 6  libdir=/usr/lib Line 6  libdir=/usr/lib
6  bindir=/usr/bin  bindir=/usr/bin
7  sbindir=/usr/sbin  sbindir=/usr/sbin
8  desktopdir=/usr/share/applications  desktopdir=/usr/share/applications
9  autostartdir=/usr/share/autostart  autostartdir=/etc/xdg/autostart
 autostartgnomedir=/usr/share/gnome/autostart  
 xinitdir=/etc/X11/xinit.d  
10  iconsdir=/usr/lib/libDrakX/icons  iconsdir=/usr/lib/libDrakX/icons
11  pixmapsdir=/usr/share/libDrakX/pixmaps  pixmapsdir=/usr/share/libDrakX/pixmaps
12  pamdir=/etc/pam.d  pamdir=/etc/pam.d
# Line 27  check: Line 25  check:
25          @for p in bin/*; do perl -cw $$p || exit 1; done          @for p in bin/*; do perl -cw $$p || exit 1; done
26    
27  install:  install:
28          install -d $(DESTDIR){$(libdir),$(bindir),$(sbindir),$(desktopdir),$(autostartdir),$(autostartgnomedir),$(xinitdir),$(iconsdir),$(pixmapsdir),$(pamdir),$(consoleappsdir)}          install -d $(DESTDIR){$(libdir),$(bindir),$(sbindir),$(desktopdir),$(autostartdir),$(iconsdir),$(pixmapsdir),$(pamdir),$(consoleappsdir)}
29          cp -a lib/* $(DESTDIR)$(libdir)/libDrakX/          cp -a lib/* $(DESTDIR)$(libdir)/libDrakX/
30          find $(DESTDIR) -name .perl_checker -exec rm {} \;          find $(DESTDIR) -name .perl_checker -exec rm {} \;
31          (cd bin; \          (cd bin; \
32            install -m755 $(BIN_TOOLS) $(DESTDIR)$(bindir); \            install -m755 $(BIN_TOOLS) $(DESTDIR)$(bindir); \
33            install -m755 $(SBIN_TOOLS) $(DESTDIR)$(sbindir); \            install -m755 $(SBIN_TOOLS) $(DESTDIR)$(sbindir); \
34          )          )
         install -m755 scripts/net_applet.xinit $(DESTDIR)$(xinitdir)/70net_applet  
35          install -m644 $(wildcard data/*.desktop) $(DESTDIR)$(desktopdir)          install -m644 $(wildcard data/*.desktop) $(DESTDIR)$(desktopdir)
36          install -m644 $(wildcard data/icons/*.png) $(DESTDIR)$(iconsdir)          install -m644 $(wildcard data/icons/*.png) $(DESTDIR)$(iconsdir)
37          install -m644 $(wildcard data/pixmaps/*.png) $(DESTDIR)$(pixmapsdir)          install -m644 $(wildcard data/pixmaps/*.png) $(DESTDIR)$(pixmapsdir)
38          perl -pe 's/\s+--force//g' $(DESTDIR)$(desktopdir)/net_applet.desktop > $(DESTDIR)$(autostartdir)/net_applet.desktop          perl -pe 's/\s+--force//g' $(DESTDIR)$(desktopdir)/net_applet.desktop > $(DESTDIR)$(autostartdir)/net_applet.desktop
         perl -pe 's/.*X-KDE.*\n//;s/\s+--force//g' $(DESTDIR)$(desktopdir)/net_applet.desktop > $(DESTDIR)$(autostartgnomedir)/net_applet.desktop  
39          make -C po install          make -C po install
40    
41  cleandist:  cleandist:

Legend:
Removed from v.600  
changed lines
  Added in v.601

  ViewVC Help
Powered by ViewVC 1.1.28