On Monday, March 17, 2003, at 09:18 AM, Tom Collins wrote:
What do you guys think of the following structure:

/qmailadmin
/qmailadmin/index.cgi  -- main qmailadmin app
/qmailadmin/images -- files currently in /images/qmailadmin
/qmailadmin/help -- files currently in /images/qmailadmin/help

I've started working on the changes necessary to make this work. I'm making sure that I don't break the old way -- I just want to make it possible for this directory structure to work given the correct options to configure.


Along the way, I noticed some errors in Makefile.am. Here's a patch that corrects them:

--- qmailadmin-1.0.12/Makefile.am       Wed Feb 26 11:34:40 2003
+++ qmailadmin-1.0.12-tc/Makefile.am    Wed Mar 19 16:13:02 2003
@@ -41,9 +41,9 @@
 #

 install-exec-local:
-       chown @vpopuser@ $(DESTDIR)$(bindir)/qmailadmin
-       chgrp @vpopgroup@ $(DESTDIR)$(bindir)/qmailadmin
-       chmod u+s,g+s $(DESTDIR)$(bindir)/qmailadmin
+       chown @vpopuser@ $(DESTDIR)$(bindir)/@QA_PACKAGE@
+       chgrp @vpopgroup@ $(DESTDIR)$(bindir)/@QA_PACKAGE@
+       chmod u+s,g+s $(DESTDIR)$(bindir)/@QA_PACKAGE@

# Maintainer stuff

@@ -64,9 +64,8 @@
$(mkinstalldirs) $(DESTDIR)@htmllibdir@
$(mkinstalldirs) $(DESTDIR)@htmllibdir@/html
cp -R html/* $(DESTDIR)@htmllibdir@/html
- $(mkinstalldirs) $(DESTDIR)@htmldir@/images
- $(mkinstalldirs) $(DESTDIR)@imagedir@/qmailadmin
- cp -R images/* $(DESTDIR)@htmldir@/images/qmailadmin
+ $(mkinstalldirs) $(DESTDIR)@imagedir@
+ cp -R images/* $(DESTDIR)@imagedir@
cp $(DESTDIR)@htmllibdir@/html/en $(DESTDIR)@htmllibdir@/html/en-us


if test "@enable_help@" = "yes"; then \

--
Tom Collins
[EMAIL PROTECTED]




Reply via email to