Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6194431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:17:45+00:00 2026-05-24T03:17:45+00:00

I would like to distribute my startup script with my app. Its called blah

  • 0

I would like to distribute my startup script with my app. Its called “blah” and it resides in the scripts/ folder of my project. I have this in my configure.ac:

... 
AC_CONFIG_FILES([
    Makefile
    scripts/Makefile
    ....
])

AC_CONFIG_FILES([scripts/blah], [chmod +x scripts/blah])

AC_OUTPUT

In the scripts directory I do have the following Makefile.am:

dist_bin_SCRIPTS = blah
CLEANFILES = $(bin_SCRIPTS)

In the same dir I do have “blah.in” file.

But when I do “make install” it does create scripts/blah, bot does not install it to the /usr/local/bin directory. What is wrong with my setup? Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:17:46+00:00Added an answer on May 24, 2026 at 3:17 am

    If you have AC_CONFIG_FILES([scripts/blah], ...) to create script/blah from script/blah.in then you should only distribute script/blah.in (this happens automatically as a side effect of using AC_CONFIG_FILES) and not distribute script/blah.

    Your Makefile should read

    bin_SCRIPTS = blah   # not dist_bin_SCRIPTS
    CLEANFILES = $(bin_SCRIPTS)
    

    If you simply want to distribute and install the script as-is, without generating it with configure, use only

    dist_bin_SCRIPTS = blah
    

    and omit CLEANFILES as well as the AC_CONFIG_FILES line.

    Now this is not your real bug. Looking at your github files I can see that scripts does not appear in the SUBDIRS variable of your root Makefile.am. Therefore make install is not recursing into that subdirectory and does not install the script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a really trivial perl script that I would like to distribute to
I have created a Jython app and I would like to distribute it to
I have a library that I would like to license and distribute. I know
I have a blog aggregator with many contributing blogs. I would like to distribute
I would like to test and distribute my phonegap app. It already runs for
I would like to distribute an application, but have license key that they can
I would like to create an IOS Distribution certificate to distribute the app to
i would like to distribute an Adobe Air App. But most enterprise companies doen't
I have a voucher to distribute electronically and I would like people to complete
I would like to distribute my app for free, and then sell extra features

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.