| 1 |
maintscriptsdir = $(pkglibdir)/script/maintenance |
| 2 |
|
| 3 |
maintscripts_SCRIPTS = \ |
| 4 |
20_epurmess\ |
| 5 |
20_epursat\ |
| 6 |
20_epurwp |
| 7 |
|
| 8 |
# Check and see if we are building with X11 support, if we are then |
| 9 |
# we also need to install the xfbbX script |
| 10 |
if HAVE_X_LIBS |
| 11 |
EXTRASCRIPTS = xfbbX |
| 12 |
endif |
| 13 |
sbin_SCRIPTS = fbb $(EXTRASCRIPTS) |
| 14 |
|
| 15 |
edit = sed \ |
| 16 |
-e 's|@sbindir[@]|$(sbindir)|g' \ |
| 17 |
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \ |
| 18 |
-e 's|@localstatedir[@]|$(localstatedir)|g' \ |
| 19 |
-e 's|@prefix[@]|$(prefix)|g' \ |
| 20 |
-e 's|@libdir[@]|$(libdir)|g' \ |
| 21 |
-e 's|@docdir[@]|$(docdir)|g' \ |
| 22 |
-e 's|@package_string[@]|$(PACKAGE_NAME)$(PACKAGE_VERSION)|g'\ |
| 23 |
-e 's|@package_version[@]|$(PACKAGE_VERSION)|g' |
| 24 |
|
| 25 |
20_epurmess: 20_epurmess.in Makefile |
| 26 |
$(edit) $(srcdir)/[email protected] > $@ |
| 27 |
|
| 28 |
20_epursat: 20_epursat.in Makefile |
| 29 |
$(edit) $(srcdir)/[email protected] > $@ |
| 30 |
|
| 31 |
20_epurwp: 20_epurwp.in Makefile |
| 32 |
$(edit) $(srcdir)/[email protected] > $@ |
| 33 |
|
| 34 |
fbb: fbb.in Makefile |
| 35 |
$(edit) $(srcdir)/[email protected] > $@ |
| 36 |
|
| 37 |
CLEANFILES = $(maintscripts_SCRIPTS) fbb |
| 38 |
|
| 39 |
EXTRA_DIST = \ |
| 40 |
20_epurmess.in\ |
| 41 |
20_epursat.in\ |
| 42 |
20_epurwp.in\ |
| 43 |
fbb.in\ |
| 44 |
xfbbX |
| 45 |
|